New blaze script which lets you use a specific java version #23
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 armel | |
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:armel-debian11-jdk11 | |
dockerRunArgs: | | |
--volume "~/.m2:/root/.m2" --volume "${PWD}:/mnt" | |
run: | | |
cd /mnt | |
mvn test |