Add upload to release page

This commit is contained in:
Holger Obermaier 2022-03-01 13:14:53 +01:00
parent c89711ed51
commit 311d316601

View File

@ -56,4 +56,14 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: cc-metric-collector SRPM AlmaLinux 8.5
path: ${{ steps.rpmbuild.outputs.SRPM }}
path: ${{ steps.rpmbuild.outputs.SRPM }}
# See: https://github.com/softprops/action-gh-release
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
name: cc-metric-collector-${{github.ref_name}}
files: |
${{ steps.rpmbuild.outputs.RPM }}
${{ steps.rpmbuild.outputs.SRPM }}