Skip to content

Add change event example to README.md #8

Add change event example to README.md

Add change event example to README.md #8

Workflow file for this run

name: Gradle Check
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 0 * * 1,4'
jobs:
check:
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 20
java-package: jre
cache: 'gradle'
- run: printf "org.gradle.java.home=%s" "$JAVA_HOME" > gradle.properties
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 21
check-latest: true
- run: printf "\norg.gradle.java.installations.paths=%s" "$JAVA_HOME" >> gradle.properties
- run: java --version
- name: Gradle Check
run: ./gradlew -PtargetJava=21 check --stacktrace --no-daemon
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}