mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 03:50:13 +10:00
ci(linux): keep extensions node_modules [skip ci]
This commit is contained in:
4
.github/workflows/insider-linux.yml
vendored
4
.github/workflows/insider-linux.yml
vendored
@@ -103,8 +103,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Compress vscode artifact
|
- name: Compress vscode artifact
|
||||||
run: |
|
run: |
|
||||||
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 -type f -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/.build/extensions/node_modules" >> vscode.txt
|
||||||
echo "vscode/.git" >> vscode.txt
|
echo "vscode/.git" >> vscode.txt
|
||||||
tar -czf vscode.tar.gz -T vscode.txt
|
tar -czf vscode.tar.gz -T vscode.txt
|
||||||
|
|
||||||
|
|||||||
5
.github/workflows/stable-linux.yml
vendored
5
.github/workflows/stable-linux.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user