瀏覽代碼

ci(linux): keep extensions node_modules [skip ci]

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

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

@@ -103,8 +103,8 @@ jobs:
 
       - name: Compress vscode artifact
         run: |
-          find vscode/* -not -path "*/node_modules" -not -path "*/node_modules/*" -not -path ".build/node" | sort -r | awk 'a!~"^"$0{a=$0;print}' | sort > vscode.txt
-          find vscode/.build/extensions/node_modules/* | sort -r | awk 'a!~"^"$0{a=$0;print}' | sort >> vscode.txt
+          find vscode/* -type f -not -path "*/node_modules" -not -path "*/node_modules/*" -not -path ".build/node" > vscode.txt
+          find vscode/.build/extensions/node_modules/* -type f >> vscode.txt
           tar -czf vscode.tar.gz -T vscode.txt
 
       - name: Upload vscode artifact