File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,9 +178,14 @@ jobs:
178178
179179 - name : Setup Python
180180 if : steps.filter.outputs.skip != 'true'
181- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
182- with :
183- python-version : ' 3.11'
181+ shell : bash
182+ # actions/setup-python can't provision on this self-hosted runner
183+ # (no hosted tool-cache). The runner is provisioned with system
184+ # python3.11; use it via a venv so pip installs stay isolated and
185+ # `pip` / `python -m` resolve to 3.11 for the later steps.
186+ run : |
187+ python3.11 -m venv "$RUNNER_TEMP/bot-venv"
188+ echo "$RUNNER_TEMP/bot-venv/bin" >> "$GITHUB_PATH"
184189
185190 - name : Setup .NET
186191 if : steps.filter.outputs.skip != 'true'
Original file line number Diff line number Diff line change @@ -109,9 +109,14 @@ jobs:
109109 git config user.email "${bot_id}+${bot_login}@users.noreply.github.com"
110110
111111 - name : Setup Python
112- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
113- with :
114- python-version : ' 3.11'
112+ shell : bash
113+ # actions/setup-python can't provision on this self-hosted runner
114+ # (no hosted tool-cache). The runner is provisioned with system
115+ # python3.11; use it via a venv so pip installs stay isolated and
116+ # `pip` / `python -m` resolve to 3.11 for the later steps.
117+ run : |
118+ python3.11 -m venv "$RUNNER_TEMP/bot-venv"
119+ echo "$RUNNER_TEMP/bot-venv/bin" >> "$GITHUB_PATH"
115120
116121 - name : Setup .NET
117122 uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
Original file line number Diff line number Diff line change @@ -157,9 +157,14 @@ jobs:
157157
158158 - name : Setup Python
159159 if : steps.filter.outputs.skip != 'true'
160- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
161- with :
162- python-version : ' 3.11'
160+ shell : bash
161+ # actions/setup-python can't provision on this self-hosted runner
162+ # (no hosted tool-cache). The runner is provisioned with system
163+ # python3.11; use it via a venv so pip installs stay isolated and
164+ # `pip` / `python -m` resolve to 3.11 for the later steps.
165+ run : |
166+ python3.11 -m venv "$RUNNER_TEMP/bot-venv"
167+ echo "$RUNNER_TEMP/bot-venv/bin" >> "$GITHUB_PATH"
163168
164169 - name : Install bot engine (interim PAT git-install) + Claude SDK/CLI
165170 if : steps.filter.outputs.skip != 'true'
Original file line number Diff line number Diff line change 8989 persist-credentials : false
9090
9191 - name : Setup Python
92- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
93- with :
94- python-version : ' 3.11'
92+ shell : bash
93+ # actions/setup-python can't provision on this self-hosted runner
94+ # (no hosted tool-cache). The runner is provisioned with system
95+ # python3.11; use it via a venv so pip installs stay isolated and
96+ # `pip` / `python -m` resolve to 3.11 for the later steps.
97+ run : |
98+ python3.11 -m venv "$RUNNER_TEMP/bot-venv"
99+ echo "$RUNNER_TEMP/bot-venv/bin" >> "$GITHUB_PATH"
95100
96101 - name : Install bot engine (interim PAT git-install) + Claude SDK/CLI
97102 env :
You can’t perform that action at this time.
0 commit comments