From 762fb402151809395cf9883354804e49a9b188a8 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 17 Nov 2024 04:33:14 +0100 Subject: ci: Mark modrinth deployment url --- .github/workflows/publish-github-to-modrinth.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.github') 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 }} -- cgit