test new changelog action
This commit is contained in:
@@ -50,18 +50,15 @@ jobs:
|
|||||||
echo "EOF" >> $GITHUB_ENV
|
echo "EOF" >> $GITHUB_ENV
|
||||||
- name: Check version
|
- name: Check version
|
||||||
run: echo old ${{ env.OLD_VERSION }} new ${{ env.VERSION }}
|
run: echo old ${{ env.OLD_VERSION }} new ${{ env.VERSION }}
|
||||||
- name: Update CHANGELOG
|
- name: conventional Changelog Action
|
||||||
id: changelog
|
id: changelog
|
||||||
uses: requarks/changelog-action@v1
|
uses: TriPSs/conventional-changelog-action@v3.7.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: ${{ env.VERSION }}
|
- name: echo changelog data
|
||||||
writeToFile: true
|
run: |
|
||||||
- name: Push changes
|
echo "${{ steps.changelog.outputs.clean_changelog }}"
|
||||||
uses: ad-m/github-push-action@master
|
echo "§{ steps.changelog.outputs.tag }}"
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
branch: ${{ github.ref }}
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
if: ${{ github.event.inputs.github_release == 'true' }}
|
if: ${{ github.event.inputs.github_release == 'true' }}
|
||||||
@@ -69,7 +66,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: ${{ env.VERSION }}
|
||||||
release_name: Release ${{ env.VERSION }}
|
release_name: Release ${{ env.VERSION }}
|
||||||
body: ${{ steps.changelog.outputs.changelog }}
|
body: ${{ steps.changelog.outputs.clean_changelog }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
make_latest: true
|
make_latest: true
|
||||||
|
|||||||
Reference in New Issue
Block a user