Explorar o código

build: add flag to disable snaps

Baptiste Augrain hai 1 ano
pai
achega
5a769efcb9
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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