Workflows : Python de l'image python:3.12, setup-python échoue sur le runner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d65e9b49d0
commit
42eb1e5e53
2 files changed
+6
-8
No files matched your search
@@ -13,11 +13,10 @@ concurrency: support-diagnostic
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest # le label du runner de l'entreprise, à donner par Maxime
|
||||
container: python:3.12 # setup-python échoue sur le runner de l'entreprise (2026-11-09) : Python vient de l'image
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Récupérer le code # sans action Node : l'image python n'a pas Node
|
||||
run: git init -q . && git fetch -q --depth 1 "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" "$GITHUB_SHA" && git checkout -q FETCH_HEAD
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python -m support_diagnostic.run
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user