diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 587b24e..aa348db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,6 @@ name: Release Workflow on: push: - branches: - - main tags: - "v*" @@ -11,6 +9,7 @@ jobs: build: name: Build and Release Binaries runs-on: ubuntu-latest + if: github.ref_type == 'tag' && github.event.base_ref == 'refs/heads/main' strategy: matrix: