MCTools_Neoforge/.github/workflows/ci_build_1.20.6.yml
expvintl 09262655bc
All checks were successful
Build1.21 / build (push) Successful in 15m32s
1.20.6 support
2024-08-29 02:47:10 +08:00

27 lines
659 B
YAML

name: Build1.21
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 拉取项目
uses: actions/checkout@v4
- name: 初始化环境
uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: '21'
- name: 初始化Gradle
uses: gradle/actions/setup-gradle@v4
- name: 构建项目
run: |
chmod 755 ./gradlew
./gradlew build
- name: 上传构建
uses: actions/upload-artifact@v3
with:
name: MCTools_Neoforge1.20.6.jar
path: build/libs/mctoolsneo-1.0.0.jar
retention-days: 16