This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 09d758a committed Oct 6, 2024 · 3 / 10
1 parent b47c1f5 commit 09d758a Copy full SHA for 09d758a
File tree 1 file changed +14
-4
lines changed
1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,26 @@ jobs:
12
12
fail-fast : false
13
13
matrix :
14
14
include :
15
+ - os : ubuntu-latest
16
+ java : 8
17
+ distribution : zulu
18
+ jobtype : 1
15
19
- os : ubuntu-latest
16
20
java : 8
17
21
distribution : temurin
22
+ jobtype : 2
18
23
- os : ubuntu-latest
19
24
java : 21
20
25
distribution : temurin
26
+ jobtype : 1
21
27
- os : ubuntu-latest
22
28
java : 24-ea
23
29
distribution : temurin
30
+ jobtype : 1
24
31
- os : windows-latest
25
32
java : 11
26
33
distribution : temurin
34
+ jobtype : 1
27
35
env :
28
36
# define Java options for both official sbt and sbt-extras
29
37
JAVA_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
@@ -36,11 +44,13 @@ jobs:
36
44
distribution : " ${{ matrix.distribution }}"
37
45
java-version : " ${{ matrix.java }}"
38
46
cache : sbt
39
- - name : Build and test (sbt 2.x)
40
- shell : bash
41
- run : |
42
- sbt -v ++3.x scripted
43
47
- name : Build and test (sbt 1.x)
48
+ if : ${{ matrix.jobtype == 1 }}
44
49
shell : bash
45
50
run : |
46
51
sbt -v ++2.12.x scripted
52
+ - name : Build and test (sbt 2.x)
53
+ if : ${{ matrix.jobtype == 2 }}
54
+ shell : bash
55
+ run : |
56
+ sbt -v ++3.x scripted
You can’t perform that action at this time.
0 commit comments