Skip to content

Commit

Permalink
Updated ProtocolLib version in test workflow
Browse files Browse the repository at this point in the history
- Updated tests.yml
  • Loading branch information
josemmo committed Jun 15, 2022
1 parent 07b9fc1 commit 246d8cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ jobs:
# Install dependencies
- name: Install plugin dependencies
run: |
url="https://ci.dmulloy2.net/job/ProtocolLib/lastStableBuild/artifact/target/ProtocolLib.jar"
if [ $VERSION == "1.19" ]; then
url="https://ci.dmulloy2.net/job/ProtocolLib/lastStableBuild/artifact/target/ProtocolLib.jar"
else
url="https://github.com/dmulloy2/ProtocolLib/releases/download/4.8.0/ProtocolLib.jar"
fi
mkdir -p ./server/plugins
wget -q "$url" -O ./server/plugins/ProtocolLib.jar
Expand Down

0 comments on commit 246d8cf

Please sign in to comment.