Skip to content

Commit 7ac5736

Browse files
committed
fix: exclude
1 parent 543bdbb commit 7ac5736

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

.github/workflows/java.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,31 @@ jobs:
2828
distribution: [amazoncorretto, temurin, openjdk]
2929
version: [8, 11, 16, 17, 18, 19, 21, 22]
3030
variant: [core, minecraft]
31-
exclude:
32-
- distribution: amazoncorretto
33-
version: [16, 18, 19, 22]
34-
- distribution: openjdk
35-
version: [16, 18, 19, 21, 22]
31+
exclude:
32+
# amazoncorretto: remove versions 16, 18, 19, 22
33+
- distribution: amazoncorretto
34+
version: 16
35+
- distribution: amazoncorretto
36+
version: 18
37+
- distribution: amazoncorretto
38+
version: 19
39+
- distribution: amazoncorretto
40+
version: 22
41+
# openjdk: remove versions 16, 18, 19, 21, 22
42+
- distribution: openjdk
43+
version: 16
44+
- distribution: openjdk
45+
version: 18
46+
- distribution: openjdk
47+
version: 19
48+
- distribution: openjdk
49+
version: 21
50+
- distribution: openjdk
51+
version: 22
3652

3753
steps:
3854
- name: Checkout code
3955
uses: actions/checkout@v4
40-
4156
- name: Login to GitHub Container Registry
4257
uses: docker/login-action@v3
4358
with:

0 commit comments

Comments
 (0)