Skip to content

Commit

Permalink
build: add flag to disable snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Jun 13, 2024
1 parent 5a769ef commit 60ebbed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/insider-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ jobs:
- build
runs-on: ubuntu-latest
env:
DISABLE_SNAP: ${{ secrets.DISABLE_SNAP }}
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
SNAP_NAME: codium-insiders
strategy:
Expand All @@ -427,7 +428,7 @@ jobs:
platform:
- amd64
- arm64
if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && secrets.DISABLE_SNAP != 'yes'
if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && env.DISABLE_SNAP != 'yes'

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stable-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ jobs:
- build
runs-on: ubuntu-latest
env:
DISABLE_SNAP: ${{ secrets.DISABLE_SNAP }}
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
SNAP_NAME: codium
strategy:
Expand All @@ -423,7 +424,7 @@ jobs:
platform:
- amd64
- arm64
if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && secrets.DISABLE_SNAP != 'yes'
if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && env.DISABLE_SNAP != 'yes'

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 60ebbed

Please sign in to comment.