Skip to content

Commit da1fe73

Browse files
committed
增加自动构建
1 parent d706564 commit da1fe73

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build mod
2+
3+
on: [ push, pull_request, workflow_dispatch ]
4+
5+
jobs:
6+
build:
7+
name: Build mod
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up JDK 17
13+
uses: actions/setup-java@v2
14+
with:
15+
distribution: 'adopt'
16+
java-version: '17'
17+
- name: Grant execute permission for gradlew
18+
run: chmod +x gradlew
19+
- name: Build with Gradle
20+
run: ./gradlew -Pnet.minecraftforge.gradle.disableUpdateChecker=true build
21+
- name: Upload artifacts
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: Random Complement
25+
path: build/libs

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ show_testing_output = false
1515

1616
# Mod Information
1717
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
18-
mod_version = 1.2.5
18+
mod_version = 1.2.6
1919
root_package = com.circulation
2020
mod_id = ae2wut
2121
mod_name = AE2UELWirelessUniversalTerminal

0 commit comments

Comments
 (0)