Skip to content

Commit 04d3071

Browse files
committed
dont upload duplicates
1 parent 1017037 commit 04d3071

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ jobs:
133133
path: ${{ matrix.loader }}/build/libs
134134
- name: Publish (Modrinth)
135135
id: publish_modrinth
136+
if: matrix.platform == 'Modrinth'
136137
uses: Kira-NT/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659
137138
with:
138139
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
@@ -143,6 +144,7 @@ jobs:
143144
${{ matrix.loader }}/build/libs/*-@(sources|javadoc).jar
144145
- name: Publish (Curseforge)
145146
id: publish_curseforge
147+
if: matrix.platform == 'Curseforge'
146148
uses: Kira-NT/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659
147149
with:
148150
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}

0 commit comments

Comments
 (0)