Skip to content

Commit 14a54bb

Browse files
committed
Merge remote-tracking branch 'upstream/master' into dev
# Conflicts: # .github/workflows/dev-ci.yml # README.md # src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/entities/AutoBreeder.java
2 parents ec9a165 + c25059c commit 14a54bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+634
-528
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: # Replace with a single Liberapay username
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: https://afdian.net/a/nora1ncity
12+
custom: https://afdian.com/a/nora1ncity

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@ body:
7272
attributes:
7373
label: Minecraft 版本
7474
options:
75-
- 1.21.x
75+
- 1.21.9~1.21.10
76+
- 1.21.7~1.21.8
77+
- 1.21.6
78+
- 1.21.5
79+
- 1.21.4
80+
- 1.21.2~1.21.3
81+
- 1.21~1.21.1
7682
- 1.20.x
7783
- 1.19.x
7884
- 1.18.x

.github/workflows/build-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/setup-java@v4
2222
with:
2323
distribution: 'zulu'
24-
java-version: ${{ vars.JAVA_CI_VERSION }}
24+
java-version: ${{ vars.JAVA_CI_VERSION || 21 }}
2525
java-package: jdk
2626
architecture: x64
2727
cache: maven
@@ -33,7 +33,7 @@ jobs:
3333
name: Upload Beta artifact
3434
with:
3535
name: Slimefun Beta Build
36-
path: staging
36+
path: target/Slimefun-*.jar
3737
- name: Automatic Releases
3838
uses: marvinpinto/action-automatic-releases@v1.2.1
3939
if: github.ref_name == 'master'
@@ -43,4 +43,4 @@ jobs:
4343
prerelease: true
4444
title: "Slimefun 自动构建版本"
4545
files: |
46-
target/slimefun-*.jar
46+
target/Slimefun-*.jar

.github/workflows/dev-ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/setup-java@v4
2424
with:
2525
distribution: 'zulu'
26-
java-version: 21
26+
java-version: ${{ vars.JAVA_CI_VERSION || 21 }}
2727
java-package: jdk
2828
architecture: x64
2929
cache: maven
@@ -33,17 +33,17 @@ jobs:
3333
echo "::add-mask::$MAVEN_PASSWORD"
3434
mvn -s .mvn/settings.xml -B deploy -Dversioning.disable --errors
3535
env:
36-
MAVEN_ACCOUNT: '${{ secrets.MAVEN_ACCOUNT }}'
36+
MAVEN_ACCOUNT: '${{ vars.MAVEN_ACCOUNT }}'
3737
MAVEN_PASSWORD: '${{ secrets.MAVEN_PASSWORD }}'
3838
- name: Build Slimefun
3939
run: mvn -B clean package --errors
40-
- name: select SlimeFun.jar
40+
- name: Get build artifact filename
4141
run: |
42-
cd target
43-
rm -rf original*
44-
echo "FILE=$(ls | grep jar)" >> $GITHUB_ENV
42+
cd target && FILENAME=$(find . -maxdepth 1 -mindepth 1 -name "Slimefun-*" | cut -d'/' -f 2)
43+
echo "SLIMEFUN_ARTIFACT_NAME=$FILENAME" >> "$GITHUB_ENV"
44+
cd ..
4545
- name: Upload Artifact
4646
uses: actions/upload-artifact@v4
4747
with:
48-
name: ${{ env.FILE }}
49-
path: target/${{ env.FILE }}
48+
name: ${{ env.SLIMEFUN_ARTIFACT_NAME }}
49+
path: target/${{ env.SLIMEFUN_ARTIFACT_NAME }}

.github/workflows/e2e-testing.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
javaVersion: '21'
2828
- mcVersion: '1.21.4'
2929
javaVersion: '21'
30+
- mcVersion: '1.21.8'
31+
javaVersion: '21'
3032
- mcVersion: 'latest'
3133
javaVersion: '21'
3234

.github/workflows/pr-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-java@v4
2727
with:
2828
distribution: 'zulu'
29-
java-version: ${{ vars.JAVA_CI_VERSION }}
29+
java-version: ${{ vars.JAVA_CI_VERSION || 21 }}
3030
java-package: jdk
3131
architecture: x64
3232
cache: 'maven'

.github/workflows/spotless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/setup-java@v4
3030
with:
3131
distribution: 'zulu'
32-
java-version: 21
32+
java-version: ${{ vars.JAVA_CI_VERSION || 21 }}
3333
java-package: jdk
3434
architecture: x64
3535
cache: maven

docs/adr/0001-storage-layer.md

Lines changed: 0 additions & 129 deletions
This file was deleted.

docs/adr/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/sop/update.md

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)