This commit is contained in:
25
.gitea/workflows/compile.yml
Normal file
25
.gitea/workflows/compile.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: build pdf
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: macos
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out the repository
|
||||||
|
uses: http://localhost:3000/sxlxc/checkout@v4
|
||||||
|
|
||||||
|
- name: Compile LaTeX using local TeX Live
|
||||||
|
run: |
|
||||||
|
echo "Compiling document..."
|
||||||
|
latexmk -pdf notes.tex
|
||||||
|
|
||||||
|
- uses: http://localhost:3000/sxlxc/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
body: ''
|
||||||
|
prerelease: true
|
||||||
|
name: PDF
|
||||||
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
tag_name: latest
|
||||||
|
files: |-
|
||||||
|
./*.pdf
|
||||||
Reference in New Issue
Block a user