Browse Source

ci: add flag to disable reh build

Baptiste Augrain 7 months ago
parent
commit
f02532900b
1 changed files with 11 additions and 6 deletions
  1. 11 6
      .github/workflows/insider-linux.yml

+ 11 - 6
.github/workflows/insider-linux.yml

@@ -260,15 +260,20 @@ jobs:
       fail-fast: false
       matrix:
         include:
-        - vscode_arch: x64
+        - slug: X64
+          vscode_arch: x64
           npm_arch: x64
-        - vscode_arch: arm64
+        - slug: ARM64
+          vscode_arch: arm64
           npm_arch: arm64
-        - vscode_arch: armhf
+        - slug: ARM
+          vscode_arch: armhf
           npm_arch: arm
-        - vscode_arch: ppc64le
+        - slug: PPC64
+          vscode_arch: ppc64le
           npm_arch: ppc64
-        - vscode_arch: riscv64
+        - slug: RISCV64
+          vscode_arch: riscv64
           npm_arch: riscv64
     env:
       BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
@@ -278,7 +283,7 @@ jobs:
       SHOULD_BUILD: ${{ needs.check.outputs.SHOULD_BUILD }}
       SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
       VSCODE_ARCH: ${{ matrix.vscode_arch }}
-    if: needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true'
+    if: (needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true') && vars[format('DISABLE_INSIDER_LINUX_REH_{0}', matrix.slug)] != 'yes'
 
     steps:
       - uses: actions/checkout@v3