mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-13 20:28:18 +10:00
build: add flag to disable snaps
This commit is contained in:
3
.github/workflows/insider-linux.yml
vendored
3
.github/workflows/insider-linux.yml
vendored
@@ -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:
|
||||
@@ -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
|
||||
|
||||
3
.github/workflows/stable-linux.yml
vendored
3
.github/workflows/stable-linux.yml
vendored
@@ -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:
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user