Browse Source

build: add flag to disable snaps

Baptiste Augrain 1 năm trước cách đây
mục cha
commit
5a769efcb9
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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