Support for Java distro detection #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux arm64 | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 40 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
cache: 'maven' | |
- uses: uraimo/run-on-arch-action@v2 | |
with: | |
arch: none | |
distro: none | |
base_image: fizzed/buildx:arm64v8-ubuntu18-jdk11 | |
dockerRunArgs: | | |
--volume "~/.m2:/root/.m2" --volume "${PWD}:/mnt" | |
run: | | |
cd /mnt | |
mvn test |