Fix Documentation Actions on dev/patch #1612
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: JUnit (MC 1.17+) | |
on: | |
push: | |
branches: | |
- master | |
- 'dev/**' | |
pull_request: | |
jobs: | |
build: | |
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build Skript and run JUnit | |
run: ./gradlew clean JUnitJava17 |