test new changelog action
This commit is contained in:
@@ -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,7 +66,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user