2727 strategy :
2828 matrix :
2929 os : [ubuntu-latest]
30- scala : [2.12.11, 2.13.2, 0.25.0, 0.26.0-RC1]
30+ scala : [0.25.0, 0.26.0-RC1, 2.12.11, 2.13.2 ]
3131 java : [adopt@1.8]
3232 runs-on : ${{ matrix.os }}
3333 steps :
8181 - name : Check that workflows are up to date
8282 run : sbt ++${{ matrix.scala }} githubWorkflowCheck
8383
84- - name : Build project
85- run : sbt ++${{ matrix.scala }} test
84+ - run : sbt ++${{ matrix.scala }} ci
8685
8786 - name : Upload target directory 'target' (${{ matrix.scala }})
8887 uses : actions/upload-artifact@v1
@@ -127,7 +126,7 @@ jobs:
127126 strategy :
128127 matrix :
129128 os : [ubuntu-latest]
130- scala : [2.12.10 ]
129+ scala : [2.13.2 ]
131130 java : [adopt@1.8]
132131 runs-on : ${{ matrix.os }}
133132 steps :
@@ -178,18 +177,6 @@ jobs:
178177 path : ~/.sbt
179178 key : ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
180179
181- - name : Download target directory 'target' (2.12.11)
182- uses : actions/download-artifact@v1
183- with :
184- name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-target
185- path : target
186-
187- - name : Download target directory 'target' (2.13.2)
188- uses : actions/download-artifact@v1
189- with :
190- name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-target
191- path : target
192-
193180 - name : Download target directory 'target' (0.25.0)
194181 uses : actions/download-artifact@v1
195182 with :
@@ -202,17 +189,17 @@ jobs:
202189 name : target-${{ matrix.os }}-0.26.0-RC1-${{ matrix.java }}-target
203190 path : target
204191
205- - name : Download target directory 'munit/jvm/ target' (2.12.11)
192+ - name : Download target directory 'target' (2.12.11)
206193 uses : actions/download-artifact@v1
207194 with :
208- name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-munit_jvm_target
209- path : munit/jvm/ target
195+ name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-target
196+ path : target
210197
211- - name : Download target directory 'munit/jvm/ target' (2.13.2)
198+ - name : Download target directory 'target' (2.13.2)
212199 uses : actions/download-artifact@v1
213200 with :
214- name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-munit_jvm_target
215- path : munit/jvm/ target
201+ name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-target
202+ path : target
216203
217204 - name : Download target directory 'munit/jvm/target' (0.25.0)
218205 uses : actions/download-artifact@v1
@@ -226,17 +213,17 @@ jobs:
226213 name : target-${{ matrix.os }}-0.26.0-RC1-${{ matrix.java }}-munit_jvm_target
227214 path : munit/jvm/target
228215
229- - name : Download target directory 'core/js /target' (2.12.11)
216+ - name : Download target directory 'munit/jvm /target' (2.12.11)
230217 uses : actions/download-artifact@v1
231218 with :
232- name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-core_js_target
233- path : core/js /target
219+ name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-munit_jvm_target
220+ path : munit/jvm /target
234221
235- - name : Download target directory 'core/js /target' (2.13.2)
222+ - name : Download target directory 'munit/jvm /target' (2.13.2)
236223 uses : actions/download-artifact@v1
237224 with :
238- name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-core_js_target
239- path : core/js /target
225+ name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-munit_jvm_target
226+ path : munit/jvm /target
240227
241228 - name : Download target directory 'core/js/target' (0.25.0)
242229 uses : actions/download-artifact@v1
@@ -250,17 +237,17 @@ jobs:
250237 name : target-${{ matrix.os }}-0.26.0-RC1-${{ matrix.java }}-core_js_target
251238 path : core/js/target
252239
253- - name : Download target directory 'core/jvm /target' (2.12.11)
240+ - name : Download target directory 'core/js /target' (2.12.11)
254241 uses : actions/download-artifact@v1
255242 with :
256- name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-core_jvm_target
257- path : core/jvm /target
243+ name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-core_js_target
244+ path : core/js /target
258245
259- - name : Download target directory 'core/jvm /target' (2.13.2)
246+ - name : Download target directory 'core/js /target' (2.13.2)
260247 uses : actions/download-artifact@v1
261248 with :
262- name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-core_jvm_target
263- path : core/jvm /target
249+ name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-core_js_target
250+ path : core/js /target
264251
265252 - name : Download target directory 'core/jvm/target' (0.25.0)
266253 uses : actions/download-artifact@v1
@@ -274,17 +261,17 @@ jobs:
274261 name : target-${{ matrix.os }}-0.26.0-RC1-${{ matrix.java }}-core_jvm_target
275262 path : core/jvm/target
276263
277- - name : Download target directory 'munit/js /target' (2.12.11)
264+ - name : Download target directory 'core/jvm /target' (2.12.11)
278265 uses : actions/download-artifact@v1
279266 with :
280- name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-munit_js_target
281- path : munit/js /target
267+ name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-core_jvm_target
268+ path : core/jvm /target
282269
283- - name : Download target directory 'munit/js /target' (2.13.2)
270+ - name : Download target directory 'core/jvm /target' (2.13.2)
284271 uses : actions/download-artifact@v1
285272 with :
286- name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-munit_js_target
287- path : munit/js /target
273+ name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-core_jvm_target
274+ path : core/jvm /target
288275
289276 - name : Download target directory 'munit/js/target' (0.25.0)
290277 uses : actions/download-artifact@v1
@@ -298,10 +285,25 @@ jobs:
298285 name : target-${{ matrix.os }}-0.26.0-RC1-${{ matrix.java }}-munit_js_target
299286 path : munit/js/target
300287
288+ - name : Download target directory 'munit/js/target' (2.12.11)
289+ uses : actions/download-artifact@v1
290+ with :
291+ name : target-${{ matrix.os }}-2.12.11-${{ matrix.java }}-munit_js_target
292+ path : munit/js/target
293+
294+ - name : Download target directory 'munit/js/target' (2.13.2)
295+ uses : actions/download-artifact@v1
296+ with :
297+ name : target-${{ matrix.os }}-2.13.2-${{ matrix.java }}-munit_js_target
298+ path : munit/js/target
299+
301300 - name : Download target directory 'project/target'
302301 uses : actions/download-artifact@v1
303302 with :
304303 name : target-${{ matrix.os }}-${{ matrix.java }}-project_target
305304 path : project/target
306305
307- - run : sbt ++${{ matrix.scala }} ci-release
306+ - name : Import signing key
307+ run : echo $PGP_SECRET | gpg --import
308+
309+ - run : sbt ++${{ matrix.scala }} release
0 commit comments