Browse Source

ci(linux): fix artifact usage [skip ci]

Baptiste Augrain 1 year ago
parent
commit
a4ed6272bb
3 changed files with 7 additions and 11 deletions
  1. 5 5
      .github/workflows/insider-linux.yml
  2. 1 3
      package_linux_bin.sh
  3. 1 3
      package_linux_reh.sh

+ 5 - 5
.github/workflows/insider-linux.yml

@@ -98,13 +98,13 @@ jobs:
 
       - name: Compress vscode artifact
         run: |
-          tar -cz --exclude='.build/node' --exclude='.git' --exclude='**/node_modules' -f vscode.tar.gz vscode
+          tar -c --exclude='.build/node' --exclude='.git' --exclude='**/node_modules' -f vscode.tar vscode
 
       - name: Upload vscode artifact
         uses: actions/upload-artifact@v3
         with:
-          name: vscode.tar.gz
-          path: ./vscode.tar.gz
+          name: vscode.tar
+          path: ./vscode.tar
           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.gz
+          name: vscode.tar
 
       - name: Build
         env:
@@ -234,7 +234,7 @@ jobs:
       - name: Download vscode artifact
         uses: actions/download-artifact@v3
         with:
-          name: vscode.tar.gz
+          name: vscode.tar
         if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
 
       - name: Build

+ 1 - 3
package_linux_bin.sh

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

+ 1 - 3
package_linux_reh.sh

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