diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 13cafe6f4b..02b0e53bf5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,7 +21,7 @@ jobs: path: | ~/.m2/repository ~/.cache/runelite - key: ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml', '**/build.sh', '**/pmd-ruleset.xml') }} + key: ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml', '**/build.sh', '**/local.sh', '**/pmd-ruleset.xml') }} restore-keys: | ${{ runner.os }}-cache- @@ -31,5 +31,11 @@ jobs: distribution: temurin java-version: 11 + - name: Change script permissions + run: chmod +x ./ci/local.sh + + - name: Publish Ethans to local + run: ./ci/local.sh + - name: Build run: ./ci/build.sh diff --git a/ci/local.sh b/ci/local.sh new file mode 100644 index 0000000000..75186e7867 --- /dev/null +++ b/ci/local.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e -x + +cd ../ +git clone https://github.com/Ethan-Vann/EthanVannPlugins +cd EthanVannPlugins +chmod a+x ./gradlew +./gradlew build publishToMavenLocal