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 LaTeX on Host
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# Tell Gitea to use your host runner
|
||||
runs-on: self-hosted
|
||||
|
||||
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 distribution.tex
|
||||
latexmk Notes_SODA23.tex
|
||||
latexmk SDP.tex
|
||||
|
||||
- name: Upload PDF artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: distribution.pdf
|
||||
path: distribution.pdf
|
Reference in New Issue
Block a user