Skip to content

Merge pull request #130 from dgault/8.0.0-SNAPSHOT #291

Merge pull request #130 from dgault/8.0.0-SNAPSHOT

Merge pull request #130 from dgault/8.0.0-SNAPSHOT #291

Workflow file for this run

---
name: Gradle
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
strategy:
matrix:
java: [8, 11, 17, 21]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
gradle_version: 8.7 # set to empty to build with most recent version of gradle
gradle_commands: publishToMavenLocal exec # default is build
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'gradle'
- uses: gradle/gradle-build-action@v3
with:
gradle-version: ${{ env.gradle_version }}
- name: Run commands
run: gradle ${{ env.gradle_commands }}