Skip to content

Commit 84c6384

Browse files
authored
Merge pull request #13549 from quarto-dev/gha/julia-cache-release-branch
2 parents 4597f3d + bd3dacd commit 84c6384

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test-smokes.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ on:
3838
schedule:
3939
- cron: "0 6 * * *"
4040

41+
# this is require to cleanup julia cache
42+
permissions:
43+
actions: write
44+
contents: read
45+
4146
jobs:
4247
run-smokes:
4348
name: Run smoke (${{ matrix.os }})${{ matrix.time-test && ' with timed file' || ''}}${{ inputs.extra-r-packages && ' - with some extra R packages'|| ''}}
@@ -181,11 +186,14 @@ jobs:
181186

182187
- name: Setup Julia
183188
uses: julia-actions/setup-julia@v2
189+
id: setup-julia
184190
with:
185191
version: "1.11.3"
186192

187193
- name: Cache Julia Packages
188194
uses: julia-actions/cache@v2
195+
with:
196+
cache-name: julia-cache;workflow=${{ github.workflow }};job=${{ github.job }};julia=${{ steps.setup-julia.outputs.julia-version }}
189197

190198
- name: Restore Julia Packages
191199
working-directory: tests

0 commit comments

Comments
 (0)