We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c79826f commit e4cc857Copy full SHA for e4cc857
1 file changed
.github/workflows/publish.yml
@@ -19,8 +19,32 @@ jobs:
19
- name: Checkout
20
uses: actions/checkout@v5.0.0
21
22
- - name: Build
23
- uses: ./.github/workflows/build.yml
+ - name: Set up JDK 8
+ uses: actions/setup-java@v3
24
+ with:
25
+ java-version: '8'
26
+ distribution: 'zulu'
27
+
28
+ - name: Set up JDK 17
29
30
31
+ java-version: '17'
32
+ distribution: 'adopt'
33
34
+ - name: Set up JDK 21
35
36
37
+ java-version: '21'
38
39
40
+ - name: Setup Gradle
41
+ uses: gradle/actions/setup-gradle@v4
42
43
+ - name: Change wrapper permissions
44
+ run: chmod +x ./gradlew
45
46
+ - name: Build with Gradle
47
+ run: ./gradlew build
48
49
- name: Publish (CurseForge/Modrinth/GitHub)
50
uses: Kir-Antipov/mc-publish@v3.3.0
0 commit comments