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 }}