Skip to content

Commit 64db26d

Browse files
committed
Attempt to resolve caching issue with ODBC CI
Add write permission to store vcpkg cache
1 parent 713c57a commit 64db26d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cpp_extra.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@ jobs:
339339
contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra') ||
340340
contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra: C++')
341341
timeout-minutes: 240
342+
permissions:
343+
packages: write
342344
env:
343345
ARROW_BUILD_SHARED: ON
344346
ARROW_BUILD_STATIC: OFF
@@ -386,7 +388,7 @@ jobs:
386388
run: |
387389
echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
388390
- name: Cache ccache
389-
uses: actions/cache@v4
391+
uses: actions/cache@v5
390392
with:
391393
path: ${{ steps.ccache-info.outputs.cache-dir }}
392394
key: cpp-odbc-ccache-windows-x64-${{ hashFiles('cpp/**') }}

0 commit comments

Comments
 (0)