浏览代码

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

Baptiste Augrain 1 年之前
父节点
当前提交
4d712a77a8
共有 3 个文件被更改,包括 13 次插入7 次删除
  1. 5 5
      .github/workflows/insider-linux.yml
  2. 4 1
      package_linux_bin.sh
  3. 4 1
      package_linux_reh.sh

+ 5 - 5
.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

+ 4 - 1
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; }
 

+ 4 - 1
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; }