PushBuild.yaml (513B)
1 name: compile LaTeX when pushed 2 3 on: 4 push: 5 branches-ignore: 6 - NotBuild 7 8 9 jobs: 10 PRbuild: 11 name: PushBuild 12 runs-on: self-hosted 13 steps: 14 - name: Set up Git repository 15 uses: actions/checkout@v2 16 - name: compile latex document 17 run: | 18 latexmk -pdfdvi main.tex 19 - name: Upload PDF artifact 20 id: artifact-upload-step 21 uses: actions/upload-artifact@v4 22 with: 23 name: main 24 path: ./main.pdf 25 retention-days: 7