-
Notifications
You must be signed in to change notification settings - Fork 33
39 lines (35 loc) · 1023 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true
- name: Setup JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: build
gradle-version: current
- name: mc-publish
uses: Kir-Antipov/[email protected]
with:
modrinth-id: H1sntfo8
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 360203
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
files-primary: build/libs/!(*-@(javadoc|sources)).jar
version-type: release
loaders: neoforge
game-versions: 1.20.5
java: 21
name: ""
changelog-file: changelog-1.20.5.*