Skip to content

Make gradlew executable #2

Make gradlew executable

Make gradlew executable #2

Workflow file for this run

name: Testing on various Java versions on Linux, Windows, and MacOS
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, macos-latest, ubuntu-latest ]
jdk: [ 8, 11, 17, 21 ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build
- name: Store test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-results
path: build/reports