Setting to have placed blocks open to the public by default #366
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- '**.java' | |
- 'gradle/**' | |
- '**.gradle' | |
- '**.gradle.kts' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- '**.java' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
# Setting any container image breaks actions/checkout@v2. | |
# container: | |
# image: openjdk:16-jdk | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'java' ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- uses: gradle/wrapper-validation-action@v2 | |
- name: Ensure gradlew.sh is executable | |
run: chmod +x gradlew | |
- name: Build project | |
run: ./gradlew compileJava |