Skip to content

Commit

Permalink
build: Don't publish gradle plugin on snapshot (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanandren authored Jan 8, 2024
1 parent e2419bc commit c7a3579
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
gradle-plugin:
name: Release gradle plugin
runs-on: ubuntu-22.04
if: github.repository == 'akka/akka-grpc'
# only on tagged release, not snapshot
if: github.repository == 'akka/akka-grpc' && startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down

0 comments on commit c7a3579

Please sign in to comment.