Update rpmbuild.yml

This commit is contained in:
Thomas Gruber 2022-02-21 18:17:12 +01:00 committed by GitHub
parent 54c693532f
commit afa831aff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,12 @@ jobs:
with: with:
name: cc-metric-collector SRPM AlmaLinux 8.5 name: cc-metric-collector SRPM AlmaLinux 8.5
path: ${{ steps.rpm.outputs.source_rpm_path }} path: ${{ steps.rpm.outputs.source_rpm_path }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
${{ steps.rpm.outputs.source_rpm_path }}
${{ steps.rpm.outputs.rpm_dir_path }}
build-rhel-ubi8: build-rhel-ubi8:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -43,3 +49,9 @@ jobs:
with: with:
name: cc-metric-collector SRPM Red Hat Universal Base Image 8 name: cc-metric-collector SRPM Red Hat Universal Base Image 8
path: ${{ steps.rpm.outputs.source_rpm_path }} path: ${{ steps.rpm.outputs.source_rpm_path }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
${{ steps.rpm.outputs.source_rpm_path }}
${{ steps.rpm.outputs.rpm_dir_path }}