mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-03 02:41:29 +02:00
Save changelogs to a temporary file
This commit is contained in:
parent
1a279bf1a8
commit
b4c979f5ca
7
.github/workflows/release-tags.yml
vendored
7
.github/workflows/release-tags.yml
vendored
@ -64,7 +64,12 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Save changelog
|
- name: Save changelog
|
||||||
run: gh release view --json body --jq .body > CHANGELOG.md
|
run: |
|
||||||
|
export "CHANGELOG_FILE=$(mktemp --suffix=.md)"
|
||||||
|
echo "CHANGELOG_FILE=${CHANGELOG_FILE}" >> $GITHUB_ENV
|
||||||
|
gh release view --json body --jq .body > "${CHANGELOG_FILE}"
|
||||||
|
cat "${CHANGELOG_FILE}"
|
||||||
|
shell: bash
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Publish to Maven, Modrinth and CurseForge
|
- name: Publish to Maven, Modrinth and CurseForge
|
||||||
|
Loading…
x
Reference in New Issue
Block a user