Add instruction to select JDK version at build time #3438
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: Build Bisq | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
java: ['11'] | |
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
with: | |
submodules: 'true' | |
- name: Set up JDK | |
uses: actions/setup-java@v4.5.0 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'zulu' | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v3.5.0 | |
with: | |
arguments: build --scan |