Skip to content

Commit de8b737

Browse files
committed
fix: ClassNotFoundException in < JDK 16
1 parent ab5c98a commit de8b737

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@ name: Release JVM probe
22

33
on:
44
release:
5-
types: [published]
5+
types: [ published ]
66

77
jobs:
88
build:
99
runs-on: ubuntu-latest
1010

1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Set up JDK 17
13+
14+
#Note: must use < JDK 16 to avoid Stream.toList() overriding StreamsKT.toList() (KT-47039)
15+
- name: Set up JDK 11
1416
uses: actions/setup-java@v3
1517
with:
16-
java-version: '17'
17-
distribution: 'adopt'
18+
java-version: 11
19+
distribution: 'temurin'
1820
cache: gradle
1921

2022
- name: Export Properties

0 commit comments

Comments
 (0)