Skip to content

Commit af54a9f

Browse files
try caching quarto download
1 parent a7b04ee commit af54a9f

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/render-and-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ jobs:
7474
~/.m2/repository
7575
~/.gitlibs
7676
~/.deps.clj
77-
key: cljdeps-${{ hashFiles('deps.edn') }}
78-
restore-keys: cljdeps-
77+
key: cljdeps-${{ runner.os }}
7978

8079
- name: Detect changed Clojure sources
8180
if: github.event_name == 'push' && steps.artifact_status.outputs.site_ok == 'true'
@@ -104,6 +103,12 @@ jobs:
104103
- name: Build notebooks (changed set or full when none)
105104
run: clojure -M:clay -A:markdown ${{ steps.changed_clj.outputs.files }}
106105

106+
- name: Cache Quarto
107+
uses: actions/cache@v3
108+
with:
109+
path: ~/.cache/quarto
110+
key: quarto-${{ runner.os }}
111+
107112
- name: Set up Quarto
108113
uses: quarto-dev/quarto-actions/setup@v2
109114
with:

0 commit comments

Comments
 (0)