blob: bf27ebfe6a7177240614f48a364579c9fb5c0821 (
plain)
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
|
name: Upload release files
on:
release:
types: [published]
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4.1.1
- name: Setup Java
uses: actions/setup-java@v4.0.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Execute Gradle build
run: ./gradlew clean build
- uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: r4AQF5mj
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
files: 'build/libs/*.jar'
loaders: forge
game-versions: 1.8.9
|