瀏覽代碼

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:
         - 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