Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zeruth committed Jun 5, 2024
1 parent 47f2646 commit babafaa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-
Expand All @@ -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
9 changes: 9 additions & 0 deletions ci/local.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit babafaa

Please sign in to comment.