Browse Source

build: add flag to disable snaps

Baptiste Augrain 11 months ago
parent
commit
5a769efcb9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/insider-linux.yml
  2. 1 1
      .github/workflows/stable-linux.yml

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

@@ -427,7 +427,7 @@ jobs:
         platform:
         - amd64
         - arm64
-    if: needs.check.outputs.SHOULD_DEPLOY == 'yes'
+    if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && secrets.DISABLE_SNAP != 'yes'
 
     steps:
       - uses: actions/checkout@v3

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

@@ -423,7 +423,7 @@ jobs:
         platform:
         - amd64
         - arm64
-    if: needs.check.outputs.SHOULD_DEPLOY == 'yes'
+    if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && secrets.DISABLE_SNAP != 'yes'
 
     steps:
       - uses: actions/checkout@v3