-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.25 KB
/
publish.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
name: publish
on:
release:
types: [released,prereleased]
jobs:
publish:
runs-on: ubuntu-latest
environment: github-actions
strategy:
max-parallel: 1
steps:
- name: Download the pack files
uses: robinraju/[email protected]
id: download-files
with:
fileName: "*.zip"
latest: true
preRelease: true
tarBall: false
zipBall: false
- name: Publish to Modrinth and CurseForge
uses: Kir-Antipov/[email protected]
with:
name: ${{ steps.download-files.outputs.release_name }}
files: '*.zip'
loaders: minecraft
game-versions: "[1.16.2,1.20.4]"
modrinth-id: v7n1ZsFg
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 821967
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
dependencies: |
chime(required){modrinth:ubxU84eR}{curseforge:432776}#(ignore:github)
cit-resewn(optional){modrinth:otVJckYQ}{curseforge:521427}#(ignore:github)
respackopts(optional){modrinth:TiF5QWZY}#(ignore:curseforge,github)
new-title(embedded){modrinth:oWMz79A6}#(ignore:curseforge,github)