-
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (48 loc) · 1.45 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
name: Release
on:
release:
types: [published]
jobs:
curseforge:
runs-on: ubuntu-latest
steps:
- name: Download pack files
uses: robinraju/[email protected]
id: download-files
with:
fileName: "*.zip"
latest: true
tarBall: false
zipBall: false
preRelease: false
- name: Publish to CurseForge
uses: Kir-Antipov/[email protected]
with:
name: ${{ steps.download-files.outputs.tag_name }}
curseforge-id: 997983
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
curseforge-files: '*.zip'
loaders: fabric
game-versions: ${{ vars.MC_VERSION }}
modrinth:
runs-on: ubuntu-latest
steps:
- name: Download pack files
uses: robinraju/[email protected]
id: download-files
with:
fileName: "*.mrpack"
latest: true
tarBall: false
zipBall: false
preRelease: false
- name: Publish to Modrinth
uses: Kir-Antipov/[email protected]
with:
name: ${{ steps.download-files.outputs.tag_name }}
modrinth-id: Ve6iGkhQ
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
modrinth-unfeature-mode: subset
files: '*.mrpack'
loaders: fabric
game-versions: ${{ vars.MC_VERSION }}