Skip to content

Commit

Permalink
GA: pass the changelog through a file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adirelle committed Jan 25, 2022
1 parent 211a819 commit eab85da
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
MOD_VERSION: ${{ steps.vars.outputs.VERSION }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}

- id: changelog
run: |
echo "::set-output name=CHANGELOG::$(./gradlew getChangelog -q --no-header)"
- run: |
./gradlew getChangelog -q --no-header >build/release-CHANGELOG.md
env:
MOD_VERSION: ${{ steps.vars.outputs.VERSION }}
Expand All @@ -43,6 +42,6 @@ jobs:
- uses: softprops/action-gh-release@v1
with:
name: ${{ steps.vars.outputs.VERSION }}
body: ${{ steps.changelog.outputs.CHANGELOG }
body_path: build/release-CHANGELOG.md
files: |
build/libs/*[0-9].jar

0 comments on commit eab85da

Please sign in to comment.