浏览代码

ci: don't get latest [skip ci]

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

+ 1 - 1
.github/workflows/insider-spearhead.yml

@@ -24,7 +24,7 @@ jobs:
       VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
       OS_NAME: osx
       VSCODE_ARCH: arm64
-      VSCODE_LATEST: yes
+      VSCODE_LATEST: ${{ github.event.inputs.dont_update != 'true' }}
       VSCODE_QUALITY: insider
 
     steps:

+ 1 - 1
.github/workflows/stable-spearhead.yml

@@ -24,7 +24,7 @@ jobs:
       VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
       OS_NAME: osx
       VSCODE_ARCH: arm64
-      VSCODE_LATEST: yes
+      VSCODE_LATEST: ${{ github.event.inputs.dont_update != 'true' }}
       VSCODE_QUALITY: stable
 
     steps: