Skip to content

Commit 677b9c7

Browse files
committedFeb 6, 2025·
added: required permissions for new cache version in CI
1 parent aa9ac61 commit 677b9c7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎.github/workflows/CI.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
test:
1515
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1616
runs-on: ${{ matrix.os }}
17+
permissions: # needed for julia-actions/cache delete old caches that it has created
18+
actions: write
19+
contents: read
1720
continue-on-error: ${{ matrix.version == 'nightly' }}
1821
strategy:
1922
fail-fast: false
@@ -28,10 +31,10 @@ jobs:
2831
arch:
2932
- x64
3033
steps:
31-
- name: Set JULIA_DEBUG environment variable
34+
- name: Set JULIA_DEBUG environment variable if applicable
3235
if: ${{ runner.debug == '1' }}
3336
run: echo "JULIA_DEBUG=ModelPredictiveControl" >> $GITHUB_ENV
34-
- uses: actions/checkout@v2
37+
- uses: actions/checkout@v4
3538
- uses: julia-actions/setup-julia@v2
3639
with:
3740
version: ${{ matrix.version }}

0 commit comments

Comments
 (0)
Please sign in to comment.