File tree 3 files changed +1
-10
lines changed
actions/composite/setupNode
3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 6
6
description : " Indicates if node is set up for hybrid app"
7
7
required : false
8
8
default : ' false'
9
- IS_DESKTOP_BUILD :
10
- description : " Indicates if node is set up for desktop app"
11
- required : false
12
- default : ' false'
13
9
14
10
outputs :
15
11
cache-hit :
45
41
key : ${{ runner.os }}-node-modules-${{ hashFiles('Mobile-Expensify/package-lock.json', 'Mobile-Expensify/patches/**') }}
46
42
47
43
- id : cache-desktop-node-modules
48
- if : inputs.IS_DESKTOP_BUILD == 'true'
49
44
uses : actions/cache@v4
50
45
with :
51
46
path : desktop/node_modules
65
60
command : npm ci
66
61
67
62
- name : Install node packages for desktop submodule
68
- if : inputs.IS_DESKTOP_BUILD == 'true' && steps.cache-desktop-node-modules.outputs.cache-hit != 'true'
63
+ if : steps.cache-desktop-node-modules.outputs.cache-hit != 'true'
69
64
uses : nick-fields/retry@3f757583fb1b1f940bc8ef4bf4734c8dc02a5847
70
65
with :
71
66
timeout_minutes : 30
Original file line number Diff line number Diff line change @@ -301,8 +301,6 @@ jobs:
301
301
302
302
- name : Setup Node
303
303
uses : ./.github/actions/composite/setupNode
304
- with :
305
- IS_DESKTOP_BUILD : true
306
304
307
305
- name : Decrypt Developer ID Certificate
308
306
run : cd desktop && gpg --quiet --batch --yes --decrypt --passphrase="$DEVELOPER_ID_SECRET_PASSPHRASE" --output developer_id.p12 developer_id.p12.gpg
Original file line number Diff line number Diff line change @@ -247,8 +247,6 @@ jobs:
247
247
248
248
- name : Setup Node
249
249
uses : ./.github/actions/composite/setupNode
250
- with :
251
- IS_DESKTOP_BUILD : true
252
250
253
251
- name : Decrypt Developer ID Certificate
254
252
run : cd desktop && gpg --quiet --batch --yes --decrypt --passphrase="$DEVELOPER_ID_SECRET_PASSPHRASE" --output developer_id.p12 developer_id.p12.gpg
You can’t perform that action at this time.
0 commit comments