Skip to content

feat: 2.0.0 beta.2 docs #16

feat: 2.0.0 beta.2 docs

feat: 2.0.0 beta.2 docs #16

Workflow file for this run

name: Gradle Build
on:
push:
branches: ["**"]
tags-ignore: ["**"]
pull_request:
release:
types: [published]
jobs:
build:
# Only run on PRs if the source branch is on someone else's repo
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: "ubuntu-latest"
defaults:
run:
working-directory: code
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
# allow master and *-dev branches to write caches (default is only master/main)
cache-read-only: ${{ github.ref != 'refs/heads/master' && !(endsWith(github.ref, '-dev') && startsWith(github.ref, 'refs/heads/')) }}
- name: Build
run: ./gradlew build