فهرست منبع

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
         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
         uses: actions/upload-artifact@v3

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

@@ -107,7 +107,10 @@ jobs:
 
       - name: Compress vscode artifact
         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
         uses: actions/upload-artifact@v3