Skip to content

fix ci action

fix ci action #610

Workflow file for this run

name: Build and test
on: [ push, pull_request ]
jobs:
ci:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
strategy:
matrix:
gradle-version: [ '7.6.4', '8.7', '8.12.1', 'latest' ]
steps:
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: ${{ matrix.gradle-version }}
- run:
./gradlew check --continue