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