Browse Source

ci: don't get latest [skip ci]

Baptiste Augrain 1 year ago
parent
commit
9fae90974b
2 changed files with 2 additions and 2 deletions
  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: