Skip to content

Commit 30be14e

Browse files
committed
Update changes from ver/1.21.4 branch
2 parents 42a68c9 + 65fe23b commit 30be14e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build-1215.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
GRADLE_MEMORY: "-Xmx4g -XX:MaxMetaspaceSize=2g"
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@main
16+
uses: actions/checkout@v4.2.2
1717
with:
1818
fetch-depth: 0
1919

2020
- name: Setup Gradle Cache
21-
uses: useblacksmith/cache@v5
21+
uses: useblacksmith/cache@v5.0.2
2222
with:
2323
path: |
2424
~/.gradle/caches/modules-2
@@ -40,7 +40,7 @@ jobs:
4040
find ~/.gradle/caches -name "*.lock" -type f -delete || echo "No lock files found"
4141
4242
- name: Setup java
43-
uses: useblacksmith/setup-java@v5
43+
uses: useblacksmith/setup-java@v5.0.1
4444
with:
4545
distribution: 'temurin'
4646
java-version: '21'
@@ -91,13 +91,13 @@ jobs:
9191
BUILD_NUMBER: ${{ env.BUILD_NUMBER }}
9292

9393
- name: Upload Leaf
94-
uses: actions/upload-artifact@main
94+
uses: actions/upload-artifact@v4.6.2
9595
with:
9696
name: Leaf 1.21.5
9797
path: ./leaf-1.21.5-${{ env.BUILD_NUMBER }}.jar
9898

9999
- name: Release Leaf
100-
uses: softprops/action-gh-release@v2.2.2 # Temp fix
100+
uses: softprops/action-gh-release@v2.3.2
101101
with:
102102
name: "Leaf 1.21.5"
103103
tag_name: "ver-1.21.5"
@@ -116,7 +116,7 @@ jobs:
116116
echo "sha256=$HASH" >> $GITHUB_OUTPUT
117117
118118
- name: Upload JAR to download API
119-
uses: appleboy/scp-action@master
119+
uses: appleboy/scp-action@v1.0.0
120120
with:
121121
host: ${{ secrets.API_HOST }}
122122
username: ${{ secrets.API_USER }}
@@ -125,7 +125,7 @@ jobs:
125125
target: "~/api/uploads/"
126126

127127
- name: Insert build to download API
128-
uses: appleboy/ssh-action@master
128+
uses: appleboy/ssh-action@v1.2.2
129129
with:
130130
host: ${{ secrets.API_HOST }}
131131
username: ${{ secrets.API_USER }}

leaf-api/paper-patches/features/0018-Configurable-LibraryLoader-maven-repos.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ index ebb52c2c8d5fe8ca25513aadae8168180a3d426e..006a86da6afa1b7b80df5df073ebd236
6666
+ private static RemoteRepository getCentralMirrorRepo() {
6767
+ String mirrorAddr = System.getProperty("Leaf.library-download-repo");
6868
+ if (mirrorAddr != null) {
69-
+ new RemoteRepository.Builder("central", "default", mirrorAddr).build();
69+
+ return new RemoteRepository.Builder("central", "default", mirrorAddr).build();
7070
+ }
7171
+ return null;
7272
+ }

public/readme/README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ Leaf 根据其上游项目及其他材料,采用多种开源许可证授权,
124124

125125
## 🔥 特别感谢
126126
[![Jianke Cloud Host](../image/JiankeServer.jpg)](https://cloud.swordsman.com.cn/?i8ab42c) \
127-
cloud of swordsman | 剑客云
127+
剑客云 | cloud of swordsman
128128

129129
如果你想找一个低价高性能、低延迟的云服务商,剑客云是个不错的选择!你可以在 [这里](https://cloud.swordsman.com.cn/?i8ab42c) 注册。
130130

131131
If you want to find a cheaper, high performance, stable, lower latency host, then cloud of swordsman is a good choice! Registers and purchases in [here](https://cloud.swordsman.com.cn/?i8ab42c).
132132

133133
---
134134
[![雨云](../image/RainYun.jpg)](https://www.rainyun.com/NzE2NTc1_) \
135-
雨云
135+
雨云 | RainYun
136136

137137
国际多线路选择,配套云存储 — 购买服务后七天内不满意可以申请退订,强大的技术支持团队和高在线率客服。雨云云服务器,用稳定和性价比,助力您快速上云。点击前往 [雨云](https://www.rainyun.com/NzE2NTc1_)
138138

0 commit comments

Comments
 (0)