Skip to content

Commit

Permalink
Merge pull request #441 from JuliaCI/ib/cache
Browse files Browse the repository at this point in the history
Use CI caching for documentation job and add newly required perms
  • Loading branch information
oxinabox authored Dec 14, 2023
2 parents eed6f49 + d078696 commit ebf6b9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -67,13 +70,15 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
permissions:
actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created
contents: write
statuses: write
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: julia-actions/cache@v1
- name: Configure doc environment
shell: julia --project=docs --color=yes {0}
run: |
Expand Down

0 comments on commit ebf6b9e

Please sign in to comment.