Skip to content

Commit

Permalink
Fix the changelog of the github release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adirelle committed Jan 25, 2022
1 parent 31611bf commit 1a24ba3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
env:
MOD_VERSION: ${{ steps.vars.outputs.VERSION }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
#
# - uses: gradle/gradle-build-action@v2
# with:
# arguments: getChangelog -q
# env:
# MOD_VERSION: ${{ steps.vars.outputs.VERSION }}

- id: changelog
run: |
echo "::set-output name=CHANGELOG::$(./gradlew getChangelog -q --no-header)"
env:
MOD_VERSION: ${{ steps.vars.outputs.VERSION }}

- uses: actions/upload-artifact@v2
with:
Expand All @@ -43,6 +43,6 @@ jobs:
- uses: softprops/action-gh-release@v1
with:
name: ${{ steps.vars.outputs.VERSION }}
body_path: CHANGELOG.md
body: ${{ steps.changelog.outputs.CHANGELOG }
files: |
build/libs/*[0-9].jar

0 comments on commit 1a24ba3

Please sign in to comment.