From 5742721cbdb5d8af097e24f4981700425306b8b3 Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Mon, 21 Feb 2022 18:58:13 +0100 Subject: [PATCH] Proper tag name in release --- .github/workflows/rpmbuild.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rpmbuild.yml b/.github/workflows/rpmbuild.yml index db4fc49..9c6ae13 100644 --- a/.github/workflows/rpmbuild.yml +++ b/.github/workflows/rpmbuild.yml @@ -27,8 +27,10 @@ jobs: - name: Release uses: softprops/action-gh-release@v1 with: - name: cc-metric-collector-${{github.ref}} - files: ${{ steps.rpm.outputs.rpm_path }} + name: cc-metric-collector-${{github.ref_name}} + files: | + ${{ steps.rpm.outputs.source_rpm_path }} + ${{ steps.rpm.outputs.rpm_path }} build-rhel-ubi8: runs-on: ubuntu-latest steps: @@ -51,5 +53,6 @@ jobs: - name: Release uses: softprops/action-gh-release@v1 with: - name: cc-metric-collector-${{github.ref}} - files: ${{ steps.rpm.outputs.rpm_path }} + files: | + ${{ steps.rpm.outputs.source_rpm_path }} + ${{ steps.rpm.outputs.rpm_path }}