Skip to content

Commit c67abce

Browse files
committed
publish java package only when creating a new release or manually
1 parent 82ee760 commit c67abce

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish package to GitHub Packages
22
on:
3-
push:
4-
branches:
5-
- master
3+
release:
4+
types: [created]
5+
workflow_dispatch:
6+
67
jobs:
78
publish:
89
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)