-
Notifications
You must be signed in to change notification settings - Fork 13
49 lines (44 loc) · 1.44 KB
/
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
41
42
43
44
45
46
47
48
49
name: Release
on:
release:
types: [published]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 21
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
- name: Build release files
id: build
env:
MEGA_VERSION: ${{ github.event.release.tag_name }}
run: ./gradlew build
- name: Publish release files
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
curseforge-id: 622112
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}
modrinth-id: jjuIRIVr
modrinth-token: ${{ secrets.MODRINTH_API_KEY }}
game-versions: |
1.21
1.21.1
loaders: neoforge
dependencies: |
ae2(required){curseforge:223794}{modrinth:XxWD5pD3}
appmek(optional){curseforge:574300}{modrinth:IiATswDj}
ae2wtlib(optional){curseforge:459929}{modrinth:pNabrMMw}
arseng(optional){curseforge:905641}{modrinth:IJI3QuK8}
# appbot(optional){curseforge:610632}{modrinth:545hUrw9}