This commit is contained in:
parent
3be585cf74
commit
e46188f695
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@ -14,7 +14,7 @@ on: push
|
||||
# Jobs are run in parallel
|
||||
jobs:
|
||||
# This is our one and only job
|
||||
test:
|
||||
publish:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -22,8 +22,9 @@ jobs:
|
||||
shell: bash
|
||||
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
|
||||
id: extract_branch
|
||||
- name: Tectonic Publish
|
||||
- name: Setup tectonic
|
||||
uses: wtfjoke/setup-tectonic@v3
|
||||
- name: Compile latex
|
||||
run: tectonic main.tex
|
||||
- name: Rename PDF
|
||||
run: mv main.pdf ${{ steps.extract_branch.outputs.branch }}.pdf
|
||||
|
Loading…
x
Reference in New Issue
Block a user