Skip to content

Commit fa9eac7

Browse files
committed
Fix issues with missing variables
1 parent 941625d commit fa9eac7

File tree

1 file changed

+32
-8
lines changed

1 file changed

+32
-8
lines changed

.vscode/tasks.json

+32-8
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,54 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"label": "Download latest stable-linux vscode artifact",
7+
"label": "Download latest stable-linux vscode.tar.gz",
88
"type": "shell",
9-
"command": "set -a && source .env || true && set +a && gh run list --workflow stable-linux --branch master --limit 1 | awk '{print $7}' | xargs -I {} gh run download {} -n vscode && sudo tar -xvzf vscode.tar.gz && sudo chown -R vscode:vscode ./vscode/",
9+
"command": "set -a && source .env || true && set +a && gh run list --workflow stable-linux --branch master -e workflow_dispatch --json databaseId --limit 1 --jq '.[].databaseId' | xargs -I {} gh run download {} -n vscode",
1010
"group": {
1111
"kind": "none"
1212
},
1313
"problemMatcher": []
1414
},
1515
{
16-
"label": "Extract vscode.tar.gz",
16+
"label": "Package REH",
1717
"type": "shell",
18-
"command": "sudo tar -xvzf vscode.tar.gz && sudo chown -R vscode:vscode ./vscode/",
18+
"command": "set -a && source .env || true && set +a && ./build/linux/package_reh.sh",
1919
"group": {
20-
"kind": "none"
20+
"kind": "build",
21+
"isDefault": false
2122
},
22-
"problemMatcher": []
23+
"options": {
24+
"env": {
25+
"ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION": "true",
26+
"APP_NAME": "VSCodium",
27+
"ASSETS_REPOSITORY": "VSCodium/VSCodium",
28+
"BINARY_NAME": "codium",
29+
"DISABLE_UPDATE": "yes",
30+
"OS_NAME": "linux",
31+
"VERSIONS_REPOSITORY": "VSCodium/versions",
32+
"VSCODE_QUALITY": "stable"
33+
}
34+
}
2335
},
2436
{
25-
"label": "Build Linux REH",
37+
"label": "Package BIN",
2638
"type": "shell",
27-
"command": "set -a && source .env || true && set +a && ./build/linux/package_reh.sh",
39+
"command": "set -a && source .env || true && set +a && ./build/linux/package_bin.sh",
2840
"group": {
2941
"kind": "build",
3042
"isDefault": false
43+
},
44+
"options": {
45+
"env": {
46+
"ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION": "true",
47+
"APP_NAME": "VSCodium",
48+
"ASSETS_REPOSITORY": "VSCodium/VSCodium",
49+
"BINARY_NAME": "codium",
50+
"DISABLE_UPDATE": "yes",
51+
"OS_NAME": "linux",
52+
"VERSIONS_REPOSITORY": "VSCodium/versions",
53+
"VSCODE_QUALITY": "stable"
54+
}
3155
}
3256
}
3357
]

0 commit comments

Comments
 (0)