Skip to content

Commit 2b07c30

Browse files
committed
Add publishing secrets
1 parent 60163c0 commit 2b07c30

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ jobs:
5555
- name: Publish mod
5656
env:
5757
DRY_RUN: ${{ inputs.dry-run && 'true' || '' }}
58-
CURSEFORGE_TOKEN:
59-
MODRINTH_TOKEN:
60-
GITHUB_TOKEN:
58+
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
59+
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
run: ./gradlew publishMods
6262

63-
- name: Upload mod publish artifact
63+
- name: Upload dry run artifact
64+
if: inputs.dry-run
6465
uses: actions/upload-artifact@v4
6566
with:
6667
name: mod-publish

0 commit comments

Comments
 (0)