Ver Fonte

ci(linux): add additional conditions for steps [skip ci]

Baptiste Augrain há 1 ano atrás
pai
commit
2fff1a6f83
1 ficheiros alterados com 6 adições e 3 exclusões
  1. 6 3
      .github/workflows/insider-linux.yml

+ 6 - 3
.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: