From 7a78841f6d9085787918ead29c9161d1e77fafed Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Sat, 2 Nov 2024 17:50:29 +0000 Subject: [PATCH] Load cached Julia packages / _freeze --- .github/workflows/create_release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index ab6eaeab7..eccd2dc8a 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -22,12 +22,26 @@ jobs: with: version: '1.10' + - name: Load Julia packages from cache + uses: julia-actions/cache@v2 + - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 with: # Needs Quarto 1.6 (which is currently a pre-release version) to fix #533 version: pre-release + - name: Restore cached _freeze folder + id: cache-restore + uses: actions/cache/restore@v4 + with: + path: | + ./_freeze/ + key: | + ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}-${{ hashFiles('**/index.qmd') }} + restore-keys: | + ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }} + - name: Render run: quarto render