From 2ee363039201c1c5a69070ca88983f182a9a9b21 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Thu, 29 May 2025 10:16:40 +0200 Subject: [PATCH] test new changelog action --- .gitea/workflows/bumptest.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/bumptest.yml b/.gitea/workflows/bumptest.yml index f2cf486..43cc6c8 100644 --- a/.gitea/workflows/bumptest.yml +++ b/.gitea/workflows/bumptest.yml @@ -50,18 +50,15 @@ jobs: echo "EOF" >> $GITHUB_ENV - name: Check version run: echo old ${{ env.OLD_VERSION }} new ${{ env.VERSION }} - - name: Update CHANGELOG + - name: conventional Changelog Action id: changelog - uses: requarks/changelog-action@v1 + uses: TriPSs/conventional-changelog-action@v3.7.1 with: - token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ env.VERSION }} - writeToFile: true - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} + github-token: ${{ secrets.GITHUB_TOKEN }} + - name: echo changelog data + run: | + echo "${{ steps.changelog.outputs.clean_changelog }}" + echo "ยง{ steps.changelog.outputs.tag }}" - name: Create release id: create_release if: ${{ github.event.inputs.github_release == 'true' }} @@ -69,9 +66,9 @@ jobs: with: tag_name: ${{ env.VERSION }} release_name: Release ${{ env.VERSION }} - body: ${{ steps.changelog.outputs.changelog }} + body: ${{ steps.changelog.outputs.clean_changelog }} draft: false prerelease: false make_latest: true env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.TOKEN }}