PushBuild.yaml (475B)
1 name: Typst Compile when push 2 3 on: 4 push: 5 branch-ignore: 6 - nobuild* 7 8 jobs: 9 PushBuild: 10 name: PushBuild 11 runs-on: self-hosted 12 steps: 13 - name: Set up Git repo 14 uses: actions/checkout@v2 15 - name: compile typst 16 run: typst compile --font-path ~/.fonts *.typ 17 - name: Upload PDF artifact 18 id: artifact-upload-step 19 uses: actions/upload-artifact@v4 20 with: 21 path: ./*.pdf 22 retention-days: 7