|
4 | 4 | "version": "2.0.0",
|
5 | 5 | "tasks": [
|
6 | 6 | {
|
7 |
| - "label": "Download latest stable-linux vscode artifact", |
| 7 | + "label": "Download latest stable-linux vscode.tar.gz", |
8 | 8 | "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", |
10 | 10 | "group": {
|
11 | 11 | "kind": "none"
|
12 | 12 | },
|
13 | 13 | "problemMatcher": []
|
14 | 14 | },
|
15 | 15 | {
|
16 |
| - "label": "Extract vscode.tar.gz", |
| 16 | + "label": "Package REH", |
17 | 17 | "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", |
19 | 19 | "group": {
|
20 |
| - "kind": "none" |
| 20 | + "kind": "build", |
| 21 | + "isDefault": false |
21 | 22 | },
|
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 | + } |
23 | 35 | },
|
24 | 36 | {
|
25 |
| - "label": "Build Linux REH", |
| 37 | + "label": "Package BIN", |
26 | 38 | "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", |
28 | 40 | "group": {
|
29 | 41 | "kind": "build",
|
30 | 42 | "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 | + } |
31 | 55 | }
|
32 | 56 | }
|
33 | 57 | ]
|
|
0 commit comments