diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e96de92..f2dd7dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,7 @@ jobs: path: ${{ steps.merlin.outputs.rpm_dir_path }} publish-rpms: + if: ${{ startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest needs: - build-naemon @@ -55,5 +56,4 @@ jobs: - uses: ncipollo/release-action@v1 with: artifacts: 'x86_64/*' - commit: ${{ github.sha }}