ci(linux): fix env variables [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-21 22:51:36 +01:00
parent 58bf4cb91c
commit f1d7201c3c
2 changed files with 6 additions and 4 deletions

View file

@ -33,8 +33,6 @@ env:
jobs: jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: vscodium/vscodium-linux-build-agent:bionic-x64
outputs: outputs:
MS_COMMIT: ${{ env.MS_COMMIT }} MS_COMMIT: ${{ env.MS_COMMIT }}
MS_TAG: ${{ env.MS_TAG }} MS_TAG: ${{ env.MS_TAG }}
@ -43,7 +41,7 @@ jobs:
SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }} SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
ref: ${{ env.GITHUB_BRANCH }} ref: ${{ env.GITHUB_BRANCH }}
@ -70,7 +68,7 @@ jobs:
if: needs.check.outputs.SHOULD_BUILD == 'yes' || needs.check.outputs.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true' if: needs.check.outputs.SHOULD_BUILD == 'yes' || needs.check.outputs.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
ref: ${{ env.GITHUB_BRANCH }} ref: ${{ env.GITHUB_BRANCH }}
@ -109,6 +107,7 @@ jobs:
build: build:
needs: needs:
- check
- compile - compile
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@ -195,6 +194,7 @@ jobs:
reh: reh:
needs: needs:
- check
- compile - compile
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:

View file

@ -7,6 +7,8 @@ if [[ "${CI_BUILD}" == "no" ]]; then
exit 1 exit 1
fi fi
export VSCODE_SKIP_NODE_VERSION_CHECK=1
tar -xzf ./vscode.tar.gz tar -xzf ./vscode.tar.gz
cd vscode || { echo "'vscode' dir not found"; exit 1; } cd vscode || { echo "'vscode' dir not found"; exit 1; }