Skip to content

Commit 4db55ea

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 455227b + 1a7e201 commit 4db55ea

2 files changed

Lines changed: 26 additions & 18 deletions

File tree

.github/workflows/build.yml

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
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

911
jobs:
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
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.

0 commit comments

Comments
 (0)