Skip to content

Commit ac19c63

Browse files
committed
push gem only when tag is added
1 parent 5545ab8 commit ac19c63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
ruby-version: jruby
4141
- name: push gem
4242
uses: trocco-io/push-gem-to-gpr-action@v1
43+
if: startsWith( github.ref, 'refs/tags/' ) || github.event_name == 'workflow_dispatch'
4344
with:
4445
language: java
4546
gem-path: "./build/gems/*.gem"

0 commit comments

Comments
 (0)