Skip to content

Update docusaurus monorepo to v2.4.1 #879

Update docusaurus monorepo to v2.4.1

Update docusaurus monorepo to v2.4.1 #879

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