Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
matsu1213 committed Jul 27, 2024
1 parent 9c0eac9 commit 0848fd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
distribution: "adopt"
cache: "maven"

- name: Check 1.12.2 NMS existence
- name: Check 1.16.5 NMS existence
id: check_nms
uses: andstor/file-existence-action@v1
with:
files: "/home/runner/.m2/repository/org/spigotmc/spigot/1.12.2-R0.1-SNAPSHOT/spigot-1.12.2-R0.1-SNAPSHOT.pom"
files: "/home/runner/.m2/repository/org/spigotmc/spigot/1.16.5-R0.1-SNAPSHOT/spigot-1.16.5-R0.1-SNAPSHOT.pom"
- name: Download BuildTools
if: steps.check_nms.outputs.files_exists == 'false'
run: mkdir -p ./build/ && curl -L -o ./build/BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
- name: Run BuildTools
if: steps.check_nms.outputs.files_exists == 'false'
run: cd build && java -jar BuildTools.jar --rev 1.12.2
run: cd build && java -jar BuildTools.jar --rev 1.16.5

- name: Check CrackShot existence
id: check_crackshot
Expand Down

0 comments on commit 0848fd4

Please sign in to comment.