Browse Source

ci(windows): add flag to disable signing [skip ci]

Baptiste Augrain 7 months ago
parent
commit
606a83c4c5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/insider-windows.yml

+ 2 - 2
.github/workflows/insider-windows.yml

@@ -108,7 +108,7 @@ jobs:
             assets/*.exe
             assets/*.exe
             assets/*.msi
             assets/*.msi
           retention-days: 1
           retention-days: 1
-        if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
+        if: env.SHOULD_BUILD == 'yes' && vars.DISABLE_INSIDER_WINDOWS_SIGNING != 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
 
 
       - name: Signing
       - name: Signing
         uses: signpath/github-action-submit-signing-request@v1
         uses: signpath/github-action-submit-signing-request@v1
@@ -123,7 +123,7 @@ jobs:
           # 3h to manually approve the request
           # 3h to manually approve the request
           wait-for-completion-timeout-in-seconds: 10800
           wait-for-completion-timeout-in-seconds: 10800
           output-artifact-directory: assets/
           output-artifact-directory: assets/
-        if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
+        if: env.SHOULD_BUILD == 'yes' && vars.DISABLE_INSIDER_WINDOWS_SIGNING != 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
 
 
       - name: Prepare checksums
       - name: Prepare checksums
         run: ./prepare_checksums.sh
         run: ./prepare_checksums.sh