From e6b2688458b9521fef1d4334e2d258d444e3c09f Mon Sep 17 00:00:00 2001 From: Joe bellus Date: Mon, 10 Mar 2025 19:26:39 -0400 Subject: [PATCH] Added cache restore --- .github/workflows/publish.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f3391cb..5d101ff 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,6 +15,12 @@ jobs: run: | apt -y install curl curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |sh + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v4 + with: + path: ~/.cache/Tectonic + key: ${{ runner.os }}-tectonic- - name: Compile latex run: ./tectonic main.tex - name: Rename PDF @@ -32,6 +38,4 @@ jobs: with: path: ~/.cache/Tectonic key: ${{ runner.os }}-tectonic-${{ hashFiles('**/*.tex') }} - restore-keys: | - ${{ runner.os }}-tectonic-