Skip to content

Commit 20a06f5

Browse files
authored
Update publish.yml
1 parent 56bc6f2 commit 20a06f5

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [released]
66

77
jobs:
8-
publish-to-modrinth:
8+
publish:
99
runs-on: ubuntu-latest
1010
environment: github-actions
1111
strategy:
@@ -20,40 +20,16 @@ jobs:
2020
tarBall: false
2121
zipBall: false
2222

23-
- name: Publish to Modrinth
23+
- name: Publish to Modrinth and CurseForge
2424
uses: Kir-Antipov/[email protected]
2525
with:
2626
name: "[${{ steps.download-files.outputs.tag_name }}] Viabackwards Plus"
27-
modrinth-id: v7n1ZsFg
28-
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
29-
modrinth-unfeature-mode: subset
3027
files: '*.zip'
3128
loaders: minecraft
3229
game-versions: "[1.16.2,1.20.4]"
33-
game-version-filter: releases
3430

35-
publish-to-curseforge:
36-
runs-on: ubuntu-latest
37-
environment: github-actions
38-
steps:
39-
- name: Download the pack files
40-
uses: robinraju/[email protected]
41-
id: download-files
42-
with:
43-
fileName: "*.zip"
44-
latest: true
45-
tarBall: false
46-
zipBall: false
31+
modrinth-id: v7n1ZsFg
32+
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
4733

48-
- name: Publish to CurseForge
49-
uses: Kir-Antipov/[email protected]
50-
with:
51-
name: "[${{ steps.download-files.outputs.tag_name }}] Viabackwards Plus"
5234
curseforge-id: 821967
5335
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
54-
curseforge-files: '*.zip'
55-
supported_mod_loaders: minecraft
56-
loaders: minecraft
57-
mod_loader: minecraft
58-
game-versions: "[1.16.2,1.20.4]"
59-
game-version-filter: releases

0 commit comments

Comments
 (0)