Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
version: '1.11'

- name: Load Julia packages from cache
uses: julia-actions/cache@v2
id: julia-cache
uses: penelopeysm/julia-cache@main
with:
cache-name: julia-cache;${{ hashFiles('**/Manifest.toml') }}
delete-old-caches: false
Expand Down Expand Up @@ -57,12 +58,21 @@ jobs:

- name: Save _freeze folder
id: cache-save
if: always()
uses: actions/cache/save@v4
with:
path: |
./_freeze/
key: ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}-${{ hashFiles('**/index.qmd') }}

- name: Save Julia depot cache
id: julia-cache-save
if: always() && steps.julia-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: ${{ steps.julia-cache.outputs.cache-paths }}
key: ${{ steps.julia-cache.outputs.cache-key }}

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
Loading