Added cache and token
Some checks failed
Publish PDF / publish (push) Failing after 59s

This commit is contained in:
Joe bellus 2025-03-10 18:48:22 -04:00
parent 8591e4a09b
commit 84a78a22d3

View File

@ -26,6 +26,13 @@ jobs:
run: |
apt -y install curl
curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |sh
- uses: actions/cache@v3
name: Tectonic Cache
with:
path: ~/.cache/Tectonic
key: ${{ runner.os }}-tectonic-${{ hashFiles('**/*.tex') }}
restore-keys: |
${{ runner.os }}-tectonic-
- name: Compile latex
run: ./tectonic main.tex
- name: Rename PDF
@ -35,6 +42,7 @@ jobs:
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
token: ${{ github.token }}
files: |-
${{ steps.extract_branch.outputs.branch }}.pdf