File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Automatically build the project and run any configured tests for every push
2- # and submitted pull request. This can help catch issues that only occur on
3- # certain platforms or Java versions, and provides a first line of defence
4- # against bad commits.
1+ name : Build
52
6- name : build
7- on : [pull_request, push]
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ permissions :
9+ contents : read
810
911jobs :
1012 build :
11- runs-on : ubuntu-24.04
13+ runs-on : ubuntu-latest
14+
1215 steps :
13- - name : checkout repository
16+ - name : Checkout
1417 uses : actions/checkout@v4
15- - name : validate gradle wrapper
16- uses : gradle/actions/wrapper-validation@v4
17- - name : setup jdk
18+
19+ - name : Set up JDK
1820 uses : actions/setup-java@v4
1921 with :
20- java-version : ' 25'
21- distribution : ' microsoft'
22- - name : make gradle wrapper executable
22+ distribution : temurin
23+ java-version : " 21"
24+
25+ - name : Set up Gradle
26+ uses : gradle/actions/setup-gradle@v4
27+
28+ - name : Make Gradle wrapper executable
2329 run : chmod +x ./gradlew
24- - name : build
25- run : ./gradlew build
26- - name : capture build artifacts
30+
31+ - name : Build
32+ run : ./gradlew build --no-daemon
33+
34+ - name : Capture build artifacts
2735 uses : actions/upload-artifact@v4
2836 with :
2937 name : Artifacts
Original file line number Diff line number Diff line change 11# NeteaseMusicDisplay
22
3- A Minecraft Fabric mod that display the current playing song in Netease Music on Windows.
3+ A Minecraft Fabric mod that displays the current playing song in Netease Music on Windows.
You can’t perform that action at this time.
0 commit comments