This repository was archived by the owner on Aug 15, 2023. It is now read-only.
File tree 3 files changed +15
-6
lines changed
3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 24
24
cache : ' yarn'
25
25
cache-dependency-path : yarn.lock
26
26
27
- - uses : actions/cache@v2
27
+ - uses : actions/cache@v3
28
28
with :
29
29
key : build-workspace-${{ github.run_id }}
30
30
path : |
87
87
cache : ' yarn'
88
88
cache-dependency-path : yarn.lock
89
89
90
- - uses : actions/cache@v2
90
+ - uses : actions/cache@v3
91
91
with :
92
92
key : build-guardoni-${{ github.run_id }}-${{ matrix.config.os }}
93
93
restore-keys : |
@@ -121,7 +121,7 @@ jobs:
121
121
with :
122
122
ref : ${{ inputs.ref }}
123
123
124
- - uses : actions/cache@v2
124
+ - uses : actions/cache@v3
125
125
with :
126
126
key : build-${{ github.run_id }}
127
127
restore-keys : |
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112
112
cache : ' yarn'
113
113
cache-dependency-path : yarn.lock
114
114
115
- - uses : actions/cache@v2
115
+ - uses : actions/cache@v3
116
116
with :
117
117
key : build-guardoni-${{ github.run_id }}-${{ matrix.config.os }}
118
118
restore-keys : |
Original file line number Diff line number Diff line change 26
26
cache : ' yarn'
27
27
cache-dependency-path : yarn.lock
28
28
29
- - uses : actions/cache@v2
29
+ - uses : actions/cache@v3
30
30
with :
31
31
key : build-workspace-${{ github.run_id }}
32
32
path : |
91
91
cache : ' yarn'
92
92
cache-dependency-path : yarn.lock
93
93
94
- - uses : actions/cache@v2
94
+ - uses : actions/cache@v3
95
+ id : guardoni-cache
95
96
with :
96
97
key : build-guardoni-${{ github.run_id }}-${{ matrix.config.os }}
97
98
restore-keys : |
@@ -110,6 +111,14 @@ jobs:
110
111
- name : Install dependencies
111
112
run : yarn
112
113
114
+ - name : Build Guardoni
115
+ if : steps.guardoni-cache.outputs.cache-hit != 'true'
116
+ env :
117
+ NODE_ENV : production
118
+ run : |
119
+ yarn guardoni build:cli
120
+ yarn guardoni build:app
121
+
113
122
- name : Build Guardoni for ${{ matrix.config.os }}
114
123
env :
115
124
DOTENV_CONFIG_PATH : .env
You can’t perform that action at this time.
0 commit comments