Skip to content

Commit 8a4a8a8

Browse files
committed
Add cache to Documenter.yml
1 parent 2e9374f commit 8a4a8a8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/Documenter.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ jobs:
99
Documenter:
1010
name: Documentation
1111
runs-on: ubuntu-latest
12+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
13+
actions: write
14+
contents: read
1215
steps:
13-
- uses: actions/checkout@v2
14-
- uses: julia-actions/julia-buildpkg@latest
15-
- uses: julia-actions/julia-docdeploy@latest
16+
- uses: actions/checkout@v4
17+
- uses: julia-actions/cache@v2
18+
- uses: julia-actions/julia-buildpkg@v1
19+
- uses: julia-actions/julia-docdeploy@v1
1620
env:
1721
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1822
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)