Преглед на файлове

build: add flag to disable snaps

Baptiste Augrain преди 11 месеца
родител
ревизия
5a769efcb9
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  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:
         platform:
         - amd64
         - amd64
         - arm64
         - arm64
-    if: needs.check.outputs.SHOULD_DEPLOY == 'yes'
+    if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && secrets.DISABLE_SNAP != 'yes'
 
 
     steps:
     steps:
       - uses: actions/checkout@v3
       - uses: actions/checkout@v3

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

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