Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09d758a

Browse files
committedOct 6, 2024·
wip
1 parent b47c1f5 commit 09d758a

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed
 

‎.github/workflows/ci.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,26 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15+
- os: ubuntu-latest
16+
java: 8
17+
distribution: zulu
18+
jobtype: 1
1519
- os: ubuntu-latest
1620
java: 8
1721
distribution: temurin
22+
jobtype: 2
1823
- os: ubuntu-latest
1924
java: 21
2025
distribution: temurin
26+
jobtype: 1
2127
- os: ubuntu-latest
2228
java: 24-ea
2329
distribution: temurin
30+
jobtype: 1
2431
- os: windows-latest
2532
java: 11
2633
distribution: temurin
34+
jobtype: 1
2735
env:
2836
# define Java options for both official sbt and sbt-extras
2937
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
@@ -36,11 +44,13 @@ jobs:
3644
distribution: "${{ matrix.distribution }}"
3745
java-version: "${{ matrix.java }}"
3846
cache: sbt
39-
- name: Build and test (sbt 2.x)
40-
shell: bash
41-
run: |
42-
sbt -v ++3.x scripted
4347
- name: Build and test (sbt 1.x)
48+
if: ${{ matrix.jobtype == 1 }}
4449
shell: bash
4550
run: |
4651
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

0 commit comments

Comments
 (0)
Please sign in to comment.