Skip to content

Commit 2dd926c

Browse files
committed
2 parents 59ce48e + 86b0152 commit 2dd926c

39 files changed

Lines changed: 30 additions & 10 deletions

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Snapshot Build / 快照构建
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
snapshot-build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: 获取仓库文件
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
fetch-tags: true
14+
15+
- name: 安装 JDK 21
16+
uses: actions/setup-java@v4
17+
with:
18+
java-version: '21'
19+
distribution: 'temurin'
20+
21+
- name: 使用 Gradle 构建
22+
run: |
23+
chmod +x gradlew
24+
./gradlew build
25+
26+
- name: 上传 Artifacts
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: mafish-crafting-snapshot
30+
path: build/libs/*.jar
-17 Bytes
Binary file not shown.
-39.1 KB
Binary file not shown.
-139 KB
Binary file not shown.
-221 KB
Binary file not shown.
-17 Bytes
Binary file not shown.
-1 Bytes
Binary file not shown.
-20.6 KB
Binary file not shown.
-17 Bytes
Binary file not shown.
-18.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)