build: add flag to disable snaps

This commit is contained in:
Baptiste Augrain 2024-06-13 20:20:59 +02:00
parent 60ebbedbf8
commit aed67b3d81
2 changed files with 2 additions and 4 deletions

View File

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

View File

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