-
-
Notifications
You must be signed in to change notification settings - Fork 10
40 lines (31 loc) · 875 Bytes
/
release.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
40
name: release
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build artifacts
run: ./gradlew clean build
- name: Upload assets to GitHub, Modrinth and CurseForge
uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: IxUlAAFe
modrinth-featured: false
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 401859
curseforge-token: ${{ secrets.CF_API_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
loaders: |
fabric
quilt