aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/publish-github-to-modrinth.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/publish-github-to-modrinth.yml')
-rw-r--r--.github/workflows/publish-github-to-modrinth.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/publish-github-to-modrinth.yml b/.github/workflows/publish-github-to-modrinth.yml
index 144c4bf..18ecf4a 100644
--- a/.github/workflows/publish-github-to-modrinth.yml
+++ b/.github/workflows/publish-github-to-modrinth.yml
@@ -7,9 +7,15 @@ on:
types:
- published
+name: Publishing
+
jobs:
upload-to-modrinth:
runs-on: ubuntu-latest
+ name: "Modrinth"
+ environment:
+ name: Modrinth
+ url: ${{ steps.mc-publish.outputs.modrinth-url }}
steps:
- run: |
gh release download "$TAG" -p '*.jar' --repo "$REPO"
@@ -22,6 +28,7 @@ jobs:
env:
CHANGELOG: ${{ github.event.release.body }}
- uses: Kir-Antipov/mc-publish@v3.3
+ id: mc-publish
with:
modrinth-id: IJNUBZ2a
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}