diff options
| author | Madeleaan <70163122+Madeleaan@users.noreply.github.com> | 2024-07-07 16:30:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-07 16:30:02 +0200 |
| commit | 84bc8901e22e0c02573169d99aff8b12bdbf9d0a (patch) | |
| tree | e21a7660d4e06675eb6dfdc0fdc217a879824cce | |
| parent | 8f43c38d5b17fc48f4c4af483eebb8fccfead04c (diff) | |
| download | notenoughupdates-84bc8901e22e0c02573169d99aff8b12bdbf9d0a.tar.gz notenoughupdates-84bc8901e22e0c02573169d99aff8b12bdbf9d0a.tar.bz2 notenoughupdates-84bc8901e22e0c02573169d99aff8b12bdbf9d0a.zip | |
meta: Fix workflow failing on push (#1224)
| -rw-r--r-- | .github/workflows/push-to-modrinth.yaml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/push-to-modrinth.yaml b/.github/workflows/push-to-modrinth.yaml index dfb6438a..7dcdf457 100644 --- a/.github/workflows/push-to-modrinth.yaml +++ b/.github/workflows/push-to-modrinth.yaml @@ -8,14 +8,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Download release file + run: | gh release download "$TAG" -p '*.jar' --repo "$REPO" env: TAG: ${{ github.event.release.tag_name }} REPO: ${{ github.repository }} GH_TOKEN: ${{ github.token }} - - run: | + - name: Set changelog + run: | printf %s "$CHANGELOG" > CHANGELOG.md - name: Set changelog env: CHANGELOG: ${{ github.event.release.body }} - name: Display file tree @@ -23,8 +24,10 @@ jobs: ls -Rla . echo ::group::Changelog cat CHANGELOG.md + echo echo ::endgroup:: - - uses: Kir-Antipov/mc-publish@v3.3 + - name: Publish to Modrinth + uses: Kir-Antipov/mc-publish@v3.3 with: modrinth-id: GGamhqbw modrinth-token: ${{ secrets.MODRINTH_TOKEN }} |
