File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,18 @@ jobs:
4646 # Skip the cache on Windows nodes outside of our org.
4747 if : ${{ inputs.host-platform != 'win-64' }}
4848
49+ - name : Set up one env var
50+ run : |
51+ # we use self-hosted runners on which setup-python behaves weirdly...
52+ # see actions/setup-python#1087
53+ # this can influence both setup-python and cibuildtools
54+ echo "AGENT_TOOLSDIRECTORY=${{ runner.temp }}/SETUP_PYTHON" >> $GITHUB_ENV
55+
4956 - name : Set up Python
5057 id : setup-python
5158 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5259 with :
5360 python-version : ${{ matrix.python-version }}
54- env :
55- # we use self-hosted runners on which setup-python behaves weirdly...
56- # see actions/setup-python#1087
57- AGENT_TOOLSDIRECTORY : " ${{ runner.temp }}/SETUP_PYTHON"
5861
5962 - name : Set up MSVC
6063 if : ${{ startsWith(inputs.host-platform, 'win') }}
You can’t perform that action at this time.
0 commit comments