Skip to content

Commit b2d5637

Browse files
committed
Merge branch 'dev/1.21.1' into release/1.21.1
2 parents ed6c6e3 + ff556aa commit b2d5637

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build-and-publish.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Test
1+
name: Build and Publish
22

33
on:
44
workflow_dispatch:
@@ -55,10 +55,19 @@ jobs:
5555
- name: Patch Changelog
5656
run: ./gradlew patchChangelog
5757
- name: Github Release
58+
env:
59+
GITHUB_KEY: ${{ github.token }}
5860
run: ./gradlew githubRelease
5961
- name: Publish Maven
62+
env:
63+
PUBLIC_REP_NAME: ${{ secrets.PUBLIC_REP_NAME }}
64+
PUBLIC_REP_KEY: ${{ secrets.PUBLIC_REP_KEY }}
6065
run: ./gradlew publishAllPublicationsToPublicRepository
6166
- name: Publish Modrinth
67+
env:
68+
MODRINTH_KEY: ${{ secrets.MODRINTH_KEY }}
6269
run: ./gradlew modrinth
6370
- name: Publish CurseForge
71+
env:
72+
CURSEFORGE_KEY: ${{ secrets.CURSEFORGE_KEY }}
6473
run: ./gradlew publishCurseForge

0 commit comments

Comments
 (0)