From 82284f1b28654cb1dcfe26b6c02e0636ee633a07 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Fri, 10 Nov 2023 13:19:40 -0800 Subject: [PATCH] Fix failing workflows Ensure that pythion 3.11 is used for older CLIs on windows. --- .github/workflows/debug-artifacts-failure.yml | 13 ++++++++++++- .github/workflows/debug-artifacts.yml | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure.yml index 41cc5e3546..c15d92c00f 100644 --- a/.github/workflows/debug-artifacts-failure.yml +++ b/.github/workflows/debug-artifacts-failure.yml @@ -42,6 +42,17 @@ jobs: - uses: actions/setup-go@v4 with: go-version: ^1.13.1 + - name: Setup Python on MacOS + uses: actions/setup-python@v4 + if: | + matrix.os == 'macos-latest' && ( + matrix.version == 'stable-20220908' || + matrix.version == 'stable-20221211' || + matrix.version == 'stable-20230418' || + matrix.version == 'stable-v2.13.5' || + matrix.version == 'stable-v2.14.6') + with: + python-version: '3.11' - uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }} @@ -52,7 +63,7 @@ jobs: shell: bash run: ./build.sh - uses: ./../action/analyze - id: analysis + id: analysis with: expect-error: true ram: 1 diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 7bee247397..5ce95784c1 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -49,6 +49,17 @@ jobs: - uses: actions/setup-go@v4 with: go-version: ^1.13.1 + - name: Setup Python on MacOS + uses: actions/setup-python@v4 + if: | + matrix.os == 'macos-latest' && ( + matrix.version == 'stable-20220908' || + matrix.version == 'stable-20221211' || + matrix.version == 'stable-20230418' || + matrix.version == 'stable-v2.13.5' || + matrix.version == 'stable-v2.14.6') + with: + python-version: '3.11' - uses: ./../action/init id: init with: @@ -63,7 +74,7 @@ jobs: shell: bash run: ./build.sh - uses: ./../action/analyze - id: analysis + id: analysis download-and-check-artifacts: name: Download and check debug artifacts needs: upload-artifacts pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy