Skip to content

Commit

Permalink
Merge pull request #38 from vnobo/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
vnobo authored Dec 17, 2024
2 parents fb98cbc + 103992d commit 52f3b1f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up graalvm 21 for x64
uses: graalvm/setup-graalvm@v1
- name: Set up java 21 for x64
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/*.work
/tmp/*.build
/tmp/*.launch
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
Expand All @@ -47,8 +51,10 @@ 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
#linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
run: |
chmod +x ./gradlew
./gradlew bootBuildImage --imagePlatform=linux/amd64 --network=host --publishImage
Expand Down

0 comments on commit 52f3b1f

Please sign in to comment.