Skip to content

Commit

Permalink
✨ feat(.github/workflows/gradle-build.yml): Update workflow to use …
Browse files Browse the repository at this point in the history
…actions/setup-java and setup-gradle for better compatibility and support.
  • Loading branch information
vnobo committed Dec 17, 2024
1 parent 9af253e commit ae097ca
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ jobs:
uses: actions/checkout@v4

- name: Set up graalvm 21 for x64
uses: graalvm/setup-graalvm@v1
uses: actions/setup-java@v4
with:
version: 'latest'
java-version: '21'
distribution: 'liberica'
native-image-job-reports: 'true'
cache: 'gradle'
cache-dependency-path: | # optional
*.gradle*
**/gradle-wrapper.properties
/tmp/**
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
Expand All @@ -47,7 +49,8 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Execute Gradle Plate bootBuildImage
run: |
chmod +x ./gradlew
Expand Down

0 comments on commit ae097ca

Please sign in to comment.