浏览代码

build: skip setup-python on self-hosted runner

Baptiste Augrain 1 年之前
父节点
当前提交
6748d842bb
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      .github/workflows/insider-macos.yml
  2. 1 0
      .github/workflows/stable-macos.yml

+ 1 - 0
.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:

+ 1 - 0
.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