Fix some syntaxes overwriting variable list indices and add new helper method for changing expressions. #817
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: Java 11 CI (MC 1.13-1.16) | |
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: validate gradle wrapper | |
uses: gradle/wrapper-validation-action@v2 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'adopt' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build Skript and run test scripts | |
run: ./gradlew clean skriptTestJava11 | |
- name: Upload Nightly Build | |
uses: actions/upload-artifact@v4 | |
if: success() | |
with: | |
name: skript-nightly | |
path: build/libs/* |