Skip to content

Merge pull request #6167 from SkriptLang/dev/patch #14

Merge pull request #6167 from SkriptLang/dev/patch

Merge pull request #6167 from SkriptLang/dev/patch #14

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@v4
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