ci: Updated workflow
parent
289e972b9b
commit
360a184f94
|
@ -505,12 +505,11 @@ jobs:
|
||||||
config-file-path: './test-changelog.config.js'
|
config-file-path: './test-changelog.config.js'
|
||||||
|
|
||||||
- name: Test output
|
- name: Test output
|
||||||
with:
|
|
||||||
GENERATED_CHANGELOG_OUTPUT: ${{ steps.changelog.outputs.clean_changelog }}
|
|
||||||
run: |
|
run: |
|
||||||
if grep -q "### New Features" "./CHANGELOG.md"; then
|
if grep -q "### New Features" "./CHANGELOG.md"; then
|
||||||
echo "Generated changelog file has config applied"
|
echo "Generated changelog file has config applied"
|
||||||
else
|
else
|
||||||
echo "Changelog config not applied" && exit 1
|
echo "Changelog config not applied" && exit 1
|
||||||
fi
|
fi
|
||||||
|
with:
|
||||||
|
GENERATED_CHANGELOG_OUTPUT: ${{ steps.changelog.outputs.clean_changelog }}
|
||||||
|
|
Loading…
Reference in New Issue