Drop me #5
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
# Do not modify! | |
# This file was generated from a template using https://github.com/StefMa/pkl-gha | |
name: Checks | |
'on': | |
pull_request: {} | |
push: {} | |
jobs: | |
gradle-checks: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
jdk: | |
- '17' | |
- '21' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: adopt | |
java-version: ${{ matrix.jdk }} | |
- name: Gradle check | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: ./gradlew.bat --info --stacktrace -DtestReportsDir=${HOME}/test-results check | |
- name: Gradle check | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: ./gradlew --info --stacktrace -DtestReportsDir=${HOME}/test-results check | |
- name: Report test results | |
if: ${{ always() }} | |
uses: mikepenz/action-junit-report@v5 | |
with: | |
check_name: Rest Results JDK ${{ matrix.jdk }} on ${{ matrix.os }} | |
path: ${HOME}/test-results |