diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 547f9e63..88d2fbfe 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,17 +22,27 @@ permissions: jobs: build: - - runs-on: ubuntu-latest - + name: Build on ${{ matrix.os.runner }} + runs-on: ${{ matrix.os.runner }} + defaults: + run: + shell: ${{ matrix.os.shell }} + strategy: + fail-fast: false + matrix: + os: + - runner: windows-latest + shell: msys2 {0} + - runner: ubuntu-latest + shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4.2.1 with: java-version: '11' distribution: 'temurin' - name: Build with Gradle - uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 + uses: gradle/actions/setup-gradle@v3.3.2 with: arguments: jvmTest