Skip to content

Commit

Permalink
Fix CI/CD & dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
stefvanschie committed Oct 31, 2024
1 parent 60b19dc commit 0ea0def
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ updates:
directory: "/nms/1_21_1"
schedule:
interval: "daily"
- package-ecosystem: "maven"
directory: "/nms/1_21_2-3"
schedule:
interval: "daily"
- package-ecosystem: "maven"
directory: "/nms/abstraction"
schedule:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
mvn paper-nms:init -pl nms/1_20_1
mvn paper-nms:init -pl nms/1_20_2
mvn paper-nms:init -pl nms/1_20_3-4
- name: 'Run BuildTools 1.20.5-1.20.6, 1.21.1'
- name: 'Run BuildTools 1.20.5-1.20.6, 1.21'
if: steps.cache-paperclip-jars.outputs.cache-hit != 'true'
run: |
mkdir -p build
Expand Down Expand Up @@ -142,6 +142,7 @@ jobs:
cd ..
java -jar BuildTools.jar --remapped --disable-java-check --dont-update
java -jar BuildTools.jar --rev 1.21.3 --remapped --disable-java-check
cd ../
- name: Setup GPG keys
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
mvn paper-nms:init -pl nms/1_20_1
mvn paper-nms:init -pl nms/1_20_2
mvn paper-nms:init -pl nms/1_20_3-4
- name: 'Run BuildTools 1.20.5-1.20.6, 1.21.1'
- name: 'Run BuildTools 1.20.5-1.20.6, 1.21'
if: steps.cache-paperclip-jars.outputs.cache-hit != 'true'
run: |
mkdir -p build
Expand Down Expand Up @@ -148,6 +148,7 @@ jobs:
cd ..
java -jar BuildTools.jar --remapped --disable-java-check --dont-update
java -jar BuildTools.jar --rev 1.21.3 --remapped --disable-java-check
cd ../
- name: Build with Maven
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ mvn paper-nms:init -pl nms/1_20_3-4
```

### Installing Spigot via BuildTools
For versions 1.20.5-1.21.1, we use BuildTools. To install these versions, we run the following commands.
For versions 1.20.5-1.21.3, we use BuildTools. To install these versions, we run the following commands.
```
wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -O BuildTools.jar
Expand Down Expand Up @@ -187,6 +187,25 @@ cd ..
java -jar BuildTools.jar --remapped --disable-java-check --dont-update
java -jar BuildTools.jar --rev 1.21.1 --remapped --disable-java-check
cd Bukkit
git checkout 8ec77750aa334e886ed2a0cee3320c62985b28e3
cd ..
cd CraftBukkit
git checkout d50f50585eab860db7889b3e736a62faf430f7a4
cd ..
cd Spigot
git checkout a084d85da8604d468f81091f56dc81166d912931
cd ..
cd BuildData
git checkout 0ea6fcc9bc8ad9e7c729f5031123bcc69ce2b033
cd ..
java -jar BuildTools.jar --remapped --disable-java-check --dont-update
java -jar BuildTools.jar --rev 1.21.3 --remapped --disable-java-check
```

Your environment is now set up correctly. To create a build, run the following inside the root folder of the project.
Expand Down

0 comments on commit 0ea0def

Please sign in to comment.