GHA: snapshot build on every push and slack notifications on failed builds

This commit is contained in:
aboyko
2023-11-01 14:03:44 -04:00
parent c3ceee03bd
commit e27b678ea9
5 changed files with 63 additions and 6 deletions

View File

@@ -28,8 +28,7 @@ jobs:
qualifier=`echo "${release##*.}"`
echo $version
echo $qualifier
echo "## ${release}" > ${{ github.workspace }}/gen-changelog.md
sed "/${version} ${qualifier}/,/^## .*/!d;//d;s/^* /- /" Changelog.md >> ${{ github.workspace }}/gen-changelog.md
sed "/${version} ${qualifier}/,/^## .*/!d;//d;s/^* /- /" Changelog.md > ${{ github.workspace }}/gen-changelog.md
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: changelog-${{ inputs.version }}-${{ github.run_id }}.md
@@ -62,7 +61,7 @@ jobs:
with:
id: ${{ inputs.version }}
tag_name: ${{ inputs.version }}
release_name: Release ${{ inputs.version }}
release_name: ${{ inputs.version }}
body_path: ${{ github.workspace }}/gen-changelog.md
draft: true
prerelease: false