feat: make build more generic (#1279)

This commit is contained in:
Baptiste Augrain
2022-10-06 22:15:41 +02:00
committed by GitHub
parent 6cb5e52ffe
commit fed608b13e
19 changed files with 171 additions and 155 deletions

View File

@@ -23,9 +23,12 @@ jobs:
container:
image: ${{ matrix.image }}
env:
OS_NAME: 'linux'
APP_NAME: VSCodium
ASSETS_REPOSITORY: ${{ github.repository }}
VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
OS_NAME: linux
VSCODE_ARCH: ${{ matrix.vscode_arch }}
VSCODE_QUALITY: 'stable'
VSCODE_QUALITY: stable
strategy:
fail-fast: false
matrix:
@@ -95,8 +98,8 @@ jobs:
run: ./build.sh
if: env.SHOULD_BUILD == 'yes'
- name: Prepare artifacts
run: ./prepare_artifacts.sh
- name: Prepare assets
run: ./prepare_assets.sh
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
- name: Release
@@ -145,6 +148,9 @@ jobs:
snap:
needs: build
runs-on: ubuntu-latest
env:
APP_NAME: codium
ASSETS_REPOSITORY: ${{ github.repository }}
strategy:
fail-fast: false
matrix: