File tree 2 files changed +13
-4
lines changed
actions/install-all-build-libs
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 6
6
steps :
7
7
# OS libraries
8
8
- name : Setup Node
9
- uses : actions/setup-node@v4.0.4
9
+ uses : actions/setup-node@v4
10
10
with :
11
11
node-version : ' 20.15'
12
+ cache : ' yarn'
12
13
13
14
- name : Install dependencies for root package.js
14
15
shell : bash
Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ jobs:
39
39
with :
40
40
arch : x64
41
41
42
- - name : Build macos package (staging)
43
- if : inputs.environment == 'staging '
42
+ - name : Build macos x64 package (staging)
43
+ if : inputs.environment != 'production '
44
44
run : |
45
45
sed -i '' "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" $envFile
46
46
47
- yarn package:stage --target darwin-${{ inputs.target }} --out ${packagePath}-${{ inputs.target }} .vsix
47
+ yarn package:stage --target darwin-x64 --out ${packagePath}-x64 .vsix
48
48
49
49
- name : Build macos x64 package (production)
50
50
if : inputs.environment == 'production'
56
56
with :
57
57
arch : arm64
58
58
59
+ - name : Build macos arm64 package (staging)
60
+ if : inputs.environment != 'production'
61
+ run : |
62
+ sed -i '' "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" $envFile
63
+
64
+ yarn package:stage --target darwin-arm64 --out ${packagePath}-arm64.vsix
65
+
66
+
59
67
- name : Build macos arm64 package (production)
60
68
if : inputs.environment == 'production'
61
69
run : |
You can’t perform that action at this time.
0 commit comments