Disabled update checker log spam... #970
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build" | |
on: [push, pull_request] | |
jobs: | |
validate: | |
name: "Validate gradle wrapper" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gradle/wrapper-validation-action@v1 | |
build: | |
name: "Build using Gradle" | |
needs: validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
check-latest: true | |
- uses: burrunan/gradle-cache-action@v1 | |
with: | |
arguments: clean build | |
# Read-only cache if not on repo's default branch: https://stackoverflow.com/a/68414395 | |
read-only: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref }} | |
gradle-dependencies-cache-key: | | |
gradle/libs.versions.toml | |
gradle-distribution-sha-256-sum-warning: false |