Skip to content

Commit c15920a

Browse files
committed
ci: Set CCACHE_DIR explicitly
1 parent 573f02a commit c15920a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,13 @@ jobs:
9292
libgirepository1.0-dev \
9393
libxsimd-dev \
9494
meson
95+
- name: Prepare ccache
96+
run: |
97+
echo "CCACHE_DIR=${PWD}/.ccache" >> "${GITHUB_ENV}"
9598
- name: Cache ccache
9699
uses: actions/cache@v5
97100
with:
98-
path: .cache/ccache/
101+
path: ${{ env.CCACHE_DIR }}
99102
key: ccache-apache-arrow-${{ hashFiles('apache-arrow/cpp/**', 'apache-arrow/c_glib/**', 'apache-arrow/ruby/red-arrow/ext/**') }}
100103
restore-keys: ccache-apache-arrow-
101104
- name: Install Red FlatBuffers

0 commit comments

Comments
 (0)