feat: 添加魔法能力管理系统,实现魔法实体生成与消耗,优化玩家交互体验。 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI build | |
on: | |
push: | |
branches: | |
- "1.19.2-master" | |
jobs: | |
pack: | |
runs-on: ubuntu-latest | |
env: | |
PUBLISH_SUFFIX: snapshots | |
steps: | |
- name: chackout | |
uses: actions/checkout@v4 | |
- name: make gradle wrapper executable | |
run: chmod +x ./gradlew | |
- name: setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: gradle | |
- name: build | |
run: ./gradlew build | |
- name: upload snapshot | |
uses: actions/upload-artifact@v3 | |
with: | |
name: snapshot-1.19.2 | |
path: build/devlibs/* |