From 4d712a77a8b848cab2e94f6d0c8c689d47daf35f Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 21 Feb 2024 20:27:52 +0100 Subject: [PATCH] ci(linux): re-add gz compression and add debug [skip ci] --- .github/workflows/insider-linux.yml | 10 +++++----- package_linux_bin.sh | 5 ++++- package_linux_reh.sh | 5 ++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index c210df9..1cad128 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -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 diff --git a/package_linux_bin.sh b/package_linux_bin.sh index dac8c79..d405d7b 100755 --- a/package_linux_bin.sh +++ b/package_linux_bin.sh @@ -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; } diff --git a/package_linux_reh.sh b/package_linux_reh.sh index f8dfe50..e5b251e 100755 --- a/package_linux_reh.sh +++ b/package_linux_reh.sh @@ -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; }