Pārlūkot izejas kodu

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

Baptiste Augrain 1 gadu atpakaļ
vecāks
revīzija
4d712a77a8

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

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

+ 4 - 1
package_linux_bin.sh

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

+ 4 - 1
package_linux_reh.sh

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