feat: 添加效果射綫魔法 #22
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@v4 | |
with: | |
name: snapshot-1.19.2-${{github.sha}} | |
path: build/devlibs/* |