Skip to content

Commit 7613e5b

Browse files
committed
ci: fix generate native
Fix artifacts download (both should be v4), update to Java 17 for build and use the latest graalVM.
1 parent 1e62861 commit 7613e5b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/actions/gradlew/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ outputs:
1515
runs:
1616
using: "composite"
1717
steps:
18-
- name: Set up JDK 11
19-
uses: actions/setup-java@v3
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
2020
with:
2121
distribution: zulu
22-
java-version: 11
22+
java-version: 17
2323
cache: gradle
2424

2525
- name: Test with Gradle

.github/workflows/native_reusable.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v4
4040

4141
- name: Download Jar
42-
uses: actions/download-artifact@v3
42+
uses: actions/download-artifact@v4
4343
with:
4444
name: ${{ inputs.jar_artifact_name }}
4545

@@ -66,8 +66,8 @@ jobs:
6666
- name: Setup GraalVM
6767
uses: graalvm/setup-graalvm@v1
6868
with:
69-
version: '22.3.0'
70-
java-version: '11'
69+
java-version: '17'
70+
distribution: 'graalvm'
7171
components: native-image
7272
github-token: ${{ secrets.GITHUB_TOKEN }}
7373
native-image-job-reports: 'true'

0 commit comments

Comments
 (0)