From 6748d842bb81ebc0df382b12974955999c756a7c Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Fri, 10 Nov 2023 13:31:58 +0100 Subject: [PATCH] build: skip setup-python on self-hosted runner --- .github/workflows/insider-macos.yml | 1 + .github/workflows/stable-macos.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/insider-macos.yml b/.github/workflows/insider-macos.yml index dbd7864bfeb..e07ae54802f 100644 --- a/.github/workflows/insider-macos.yml +++ b/.github/workflows/insider-macos.yml @@ -59,6 +59,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.11' + if: env.VSCODE_ARCH == 'x64' - name: Clone VSCode repo env: diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index eea44436d84..50b1dffe35c 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -56,6 +56,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.11' + if: env.VSCODE_ARCH == 'x64' - name: Clone VSCode repo run: . get_repo.sh