瀏覽代碼

Merge branch 'insider'

Baptiste Augrain 1 年之前
父節點
當前提交
9c56656f21
共有 2 個文件被更改,包括 8 次插入2 次删除
  1. 4 1
      .github/workflows/insider-linux.yml
  2. 4 1
      .github/workflows/stable-linux.yml

+ 4 - 1
.github/workflows/insider-linux.yml

@@ -103,7 +103,10 @@ jobs:
 
 
       - name: Compress vscode artifact
       - name: Compress vscode artifact
         run: |
         run: |
-          tar -cz --exclude='.build/node' --exclude='**/node_modules' -f vscode.tar.gz vscode
+          find vscode -type f -not -path "*/node_modules/*" -not -path "vscode/.build/node/*" -not -path "vscode/.git/*" > vscode.txt
+          echo "vscode/.build/extensions/node_modules" >> vscode.txt
+          echo "vscode/.git" >> vscode.txt
+          tar -czf vscode.tar.gz -T vscode.txt
 
 
       - name: Upload vscode artifact
       - name: Upload vscode artifact
         uses: actions/upload-artifact@v3
         uses: actions/upload-artifact@v3

+ 4 - 1
.github/workflows/stable-linux.yml

@@ -107,7 +107,10 @@ jobs:
 
 
       - name: Compress vscode artifact
       - name: Compress vscode artifact
         run: |
         run: |
-          tar -cz --exclude='.build/node' --exclude='**/node_modules' -f vscode.tar.gz vscode
+          find vscode -type f -not -path "*/node_modules/*" -not -path "vscode/.build/node/*" -not -path "vscode/.git/*" > vscode.txt
+          echo "vscode/.build/extensions/node_modules" >> vscode.txt
+          echo "vscode/.git" >> vscode.txt
+          tar -czf vscode.tar.gz -T vscode.txt
 
 
       - name: Upload vscode artifact
       - name: Upload vscode artifact
         uses: actions/upload-artifact@v3
         uses: actions/upload-artifact@v3