Skip to content

Commit ff122ab

Browse files
committed
CI Build
1 parent 5e08ca6 commit ff122ab

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10-
container:
11-
image: openjdk:21-jdk
1210
steps:
1311
- uses: actions/checkout@v4
14-
- uses: gradle/actions/wrapper-validation@v3
12+
- name: Set up JDK 21
13+
uses: actions/setup-java@v4
14+
with:
15+
java-version: '21'
16+
distribution: 'temurin'
17+
- uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
1518
- run: chmod +x ./gradlew
1619
- run: ./gradlew clean build publishCurseForge modrinth
1720
env:

0 commit comments

Comments
 (0)