Skip to content

Commit 5b15052

Browse files
committed
Try something different
1 parent 4d3b284 commit 5b15052

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build-wheel.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,17 @@ jobs:
4242
(inputs.host-platform == 'win-64' && 'windows-2022') }}
4343
env:
4444
SCCACHE_GHA_ENABLED: "true"
45-
SCCACHE_DIR: ${{ github.workspace }}/.sccache
4645

4746
steps:
4847
- name: Checkout ${{ github.event.repository.name }}
4948
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5049
with:
5150
fetch-depth: 0
5251

52+
- name: Setup SCCACHE_DIR
53+
run: |
54+
echo "SCCACHE_DIR=${{ github.workspace }}/.sccache" >> $GITHUB_ENV
55+
5356
- name: Enable sccache
5457
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # 0.0.9
5558

ci/tools/env-vars

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,3 @@ fi
8686
echo "CUDA_BINDINGS_ARTIFACTS_DIR=$(realpath "${REPO_DIR}/cuda_bindings/dist")"
8787
echo "CUDA_BINDINGS_CYTHON_TESTS_DIR=$(realpath "${REPO_DIR}/cuda_bindings/tests/cython")"
8888
} >> $GITHUB_ENV
89-
90-
echo "SCCACHE_PATH=$(which sccache)"

0 commit comments

Comments
 (0)