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:
46
46
# Skip the cache on Windows nodes outside of our org.
47
47
if : ${{ inputs.host-platform != 'win-64' }}
48
48
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
+
49
56
- name : Set up Python
50
57
id : setup-python
51
58
uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
52
59
with :
53
60
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"
58
61
59
62
- name : Set up MSVC
60
63
if : ${{ startsWith(inputs.host-platform, 'win') }}
You can’t perform that action at this time.
0 commit comments