Merge pull request #106 from robertpanzer/fix-jruby-gradle-plugin #480
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 Main | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build | |
strategy: | |
max-parallel: 2 | |
matrix: | |
java: | |
- '11' | |
- '17' | |
os: | |
- ubuntu-latest | |
- macos-13 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
- name: Build | |
run: | | |
./gradlew -S -Pskip.signing assemble | |
./gradlew -S -Pskip.signing check | |
build-windows: | |
name: Build on Windows | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 2 | |
matrix: | |
java: | |
- '11' | |
- '17' | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
- name: Assemble | |
shell: cmd | |
run: | | |
gradlew.bat -S -Pskip.signing assemble | |
gradlew.bat -S -Pskip.signing check |