ci(linux): re-add gz compression and add debug [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-21 20:27:52 +01:00
parent a4ed6272bb
commit 4d712a77a8
3 changed files with 13 additions and 7 deletions

View File

@ -98,13 +98,13 @@ jobs:
- name: Compress vscode artifact
run: |
tar -c --exclude='.build/node' --exclude='.git' --exclude='**/node_modules' -f vscode.tar vscode
tar -cz --exclude='.build/node' --exclude='.git' --exclude='**/node_modules' -f vscode.tar.gz vscode
- name: Upload vscode artifact
uses: actions/upload-artifact@v3
with:
name: vscode.tar
path: ./vscode.tar
name: vscode
path: ./vscode.tar.gz
retention-days: ${{ needs.check.outputs.SHOULD_DEPLOY == 'yes' && 30 || 1 }}
build:
@ -159,7 +159,7 @@ jobs:
- name: Download vscode artifact
uses: actions/download-artifact@v3
with:
name: vscode.tar
name: vscode
- name: Build
env:
@ -234,7 +234,7 @@ jobs:
- name: Download vscode artifact
uses: actions/download-artifact@v3
with:
name: vscode.tar
name: vscode
if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
- name: Build

View File

@ -7,7 +7,10 @@ if [[ "${CI_BUILD}" == "no" ]]; then
exit 1
fi
tar -xf ./vscode.tar .
pwd
ls -la
tar -xfz ./vscode.tar.gz .
cd vscode || { echo "'vscode' dir not found"; exit 1; }

View File

@ -7,7 +7,10 @@ if [[ "${CI_BUILD}" == "no" ]]; then
exit 1
fi
tar -xf ./vscode.tar .
pwd
ls -la
tar -xfz ./vscode.tar.gz .
cd vscode || { echo "'vscode' dir not found"; exit 1; }