Fix: Build Action #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "README.md" | |
- "LICENSE" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: LaTeX Compile | |
uses: xu-cheng/latex-action@v3 | |
with: | |
root_file: 0_main.tex | |
- name: Upload PDF | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Proposal PDF | |
path: proposal.pdf | |
- name: Tag | |
id: tag | |
run: echo ::set-output name=release_tag::Autobuild_$(date +'%Y.%m.%d_%H-%M') | |
- name: Release Draft | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: Autobuild | |
tag_name: ${{ steps.tag.outputs.release_tag }} | |
files: proposal.pdf | |
body: | | |
This is an automated build of the proposal. | |
prerelease: true |