blob: 364a3afe18e65afbcc18024aa6a2e863bf4f45ec (
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
|
on:
release:
types:
- published
jobs:
upload-to-modrinth:
runs-on: ubuntu-latest
steps:
- uses: dsaltares/fetch-gh-release-asset@master
with:
version: ${{ github.event.release.id }}
regex: true
file: ".*\\.jar"
token: ${{ secrets.GITHUB_TOKEN }}
target: .
- run: |
printf %s "$CHANGELOG" > CHANGELOG.md
env:
CHANGELOG: ${{ github.event.release.body }}
- uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: GGamhqbw
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
files: "*.jar"
loaders: forge
game-versions: 1.8.9
version: ${{ github.event.release.tag_name }}
# TODO: version-type: release
|