Skip to content

Updating Github Actions and enabling cross-platform testing (#272) #68

Updating Github Actions and enabling cross-platform testing (#272)

Updating Github Actions and enabling cross-platform testing (#272) #68

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Run JVM test
on:
push:
branches: [ "master" ]
pull_request:
paths:
- '**.gradle.kts'
- '**.properties'
- 'src/**'
- '.github/workflows/**'
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
build:
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/[email protected]
- name: Set up JDK 11
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/actions/[email protected]
with:
arguments: jvmTest