name: Build LaTeX on Host on: [push,watch] jobs: build: # use label runs-on: macos steps: - name: Check out the repository uses: actions/checkout@v4 - name: Compile LaTeX using local TeX Live # These commands run directly in your machine's shell run: | echo "Compiling document..." latexmk -pdf distribution.tex - name: List files in the workspace run: ls -l # - name: Upload PDF artifact # uses: actions/upload-artifact@v4 # with: # name: distribution.pdf # path: distribution.pdf - uses: akkuman/gitea-release-action@v1 with: body: '' prerelease: true name: PDF token: ${{ secrets.RELEASE_TOKEN }} tag_name: latest files: |- ./*.pdf