Browse Source

ci(linux): keep .git [skip ci]

Baptiste Augrain 1 year ago
parent
commit
e117bf98d5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/insider-linux.yml

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

@@ -103,8 +103,9 @@ jobs:
 
       - name: Compress vscode artifact
         run: |
-          find vscode -type f -not -path "*/node_modules" -not -path "*/node_modules/*" -not -path ".build/node" > vscode.txt
+          find vscode -type f -not -path "*/node_modules" -not -path "*/node_modules/*" -not -path "vscode/.build/node/*" -not -path "vscode/.git/*" > vscode.txt
           find vscode/.build/extensions/node_modules -type f >> vscode.txt
+          echo "vscode/.git" >> vscode.txt
           tar -czf vscode.tar.gz -T vscode.txt
 
       - name: Upload vscode artifact