From 2fff1a6f835c55d6e5ff452506bcbabcb7be52b3 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 22 Feb 2024 12:14:44 +0100 Subject: [PATCH] ci(linux): add additional conditions for steps [skip ci] --- .github/workflows/insider-linux.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 34386d1..74ccb4d 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -147,25 +147,28 @@ jobs: run: ./install_gh.sh if: env.SHOULD_DEPLOY == 'yes' - - name: Install libkrb5-dev - run: sudo apt-get install -y libkrb5-dev - - name: Check existing VSCodium tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CHECK_REH: 'no' run: ./check_tags.sh + - name: Install libkrb5-dev + run: sudo apt-get install -y libkrb5-dev + if: env.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true' + - name: Download vscode artifact uses: actions/download-artifact@v3 with: name: vscode + if: env.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true' - name: Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} npm_config_arch: ${{ matrix.npm_arch }} run: ./package_linux_bin.sh + if: env.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true' - name: Prepare assets env: