use action
All checks were successful
build pdf / build (push) Successful in 12s

This commit is contained in:
2025-07-21 16:43:18 +08:00
parent b7a8809005
commit b5e9a64ca9
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
name: build pdf
on: [push,watch]
jobs:
build:
runs-on: macos # use label
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 main.tex
- name: List files in the workspace
run: ls -l
- uses: akkuman/gitea-release-action@v1
with:
body: ''
prerelease: true
name: PDF
token: ${{ secrets.RELEASE_TOKEN }}
tag_name: latest
files: |-
./*.pdf

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
.vscode/
*.sage.py
/*.pdf
## Core latex/pdflatex auxiliary files:
*.aux
*.lof

BIN
main.pdf

Binary file not shown.