This commit is contained in:
2025-05-29 10:38:15 +02:00
parent b3decbcd05
commit 4c6d4a7c6f
2 changed files with 36 additions and 18 deletions

View File

@@ -59,24 +59,13 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: "Build Changelog"
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v5.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add release notes to environment
id: add_release_notes
run: |
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
echo "${{ github.event.inputs.release_notes }}" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Get the changelog
run: |
cat << "EOF"
${{ steps.changelog.outputs.changelog }}
EOF
echo ${{ steps.changelog.outputs.changelog }}
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v2
with:
platform: "gitea"
configuration: ".gitea/changelog-config.json"
token: ${{ secrets.TOKEN }}
- name: Create release