From ec21a7199e8d615c312035c067ace5ee0b1ac8d6 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 3 May 2024 17:25:50 +0200 Subject: meta: Fix modrinth publishing (#1147) --- .github/workflows/push-to-modrinth.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-to-modrinth.yaml b/.github/workflows/push-to-modrinth.yaml index 930ca13c..d33e2090 100644 --- a/.github/workflows/push-to-modrinth.yaml +++ b/.github/workflows/push-to-modrinth.yaml @@ -9,14 +9,14 @@ jobs: steps: - uses: dsaltares/fetch-gh-release-asset@master with: - version: ${{ release.id }} + version: ${{ github.event.release.id }} regex: true file: "*.jar" token: ${{ secrets.GITHUB_TOKEN }} - run: | printf %s "$CHANGELOG" > CHANGELOG.md env: - CHANGELOG: ${{ release.body }} + CHANGELOG: ${{ github.event.release.body }} - uses: Kir-Antipov/mc-publish@v3.3 with: modrinth-id: GGamhqbw @@ -24,5 +24,5 @@ jobs: files: "*.jar" loaders: forge game-versions: 1.8.9 - version: ${{ release.tag_name }} + version: ${{ github.event.release.tag_name }} # TODO: version-type: release -- cgit