Skip to content

Commit 512e613

Browse files
committed
AGENT_TOOLSDIRECTORY needs to be writable
1 parent 9fc20e1 commit 512e613

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-wheel.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
python-version: ${{ matrix.python-version }}
5454
env:
5555
# we use self-hosted runners on which setup-python behaves weirdly...
56-
AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache"
56+
AGENT_TOOLSDIRECTORY: "../RUNNER_TEMP"
5757

5858
- name: Set up MSVC
5959
if: ${{ startsWith(inputs.host-platform, 'win') }}
@@ -83,8 +83,9 @@ jobs:
8383
echo "CUDA_BINDINGS_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/dist")" >> $GITHUB_ENV
8484
echo "CUDA_BINDINGS_CYTHON_TESTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/tests/cython")" >> $GITHUB_ENV
8585
echo "CIBW_BUILD=${CIBW_BUILD}" >> $GITHUB_ENV
86+
8687
echo "PY_EXT_SUFFIX=$(python -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))")" >> $GITHUB_ENV
87-
88+
8889
- name: Dump environment
8990
run: |
9091
env

0 commit comments

Comments
 (0)