浏览代码

build: add flag to disable snaps

Baptiste Augrain 11 月之前
父节点
当前提交
aed67b3d81
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 1 2
      .github/workflows/insider-linux.yml
  2. 1 2
      .github/workflows/stable-linux.yml

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

@@ -419,7 +419,6 @@ jobs:
       - build
     runs-on: ubuntu-latest
     env:
-      DISABLE_SNAP: ${{ secrets.DISABLE_SNAP }}
       RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
       SNAP_NAME: codium-insiders
     strategy:
@@ -428,7 +427,7 @@ jobs:
         platform:
         - amd64
         - arm64
-    if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && env.DISABLE_SNAP != 'yes'
+    if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && vars.DISABLE_SNAP != 'yes'
 
     steps:
       - uses: actions/checkout@v3

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

@@ -415,7 +415,6 @@ jobs:
       - build
     runs-on: ubuntu-latest
     env:
-      DISABLE_SNAP: ${{ secrets.DISABLE_SNAP }}
       RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
       SNAP_NAME: codium
     strategy:
@@ -424,7 +423,7 @@ jobs:
         platform:
         - amd64
         - arm64
-    if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && env.DISABLE_SNAP != 'yes'
+    if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && vars.DISABLE_SNAP != 'yes'
 
     steps:
       - uses: actions/checkout@v3