Skip to content

Commit 3475c92

Browse files
publish on tag
1 parent 2f10aa4 commit 3475c92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@ jobs:
3636
3737
- name: Build
3838
run: ./gradlew build --stacktrace
39+
40+
- name: Publish
41+
if: startsWith(github.ref, 'refs/tags/')
42+
run: ./gradlew publish --stacktrace
43+
env:
44+
ORG_GRADLE_PROJECT_nexus_user: ${{ secrets.NEXUS_USER }}
45+
ORG_GRADLE_PROJECT_nexus_password: ${{ secrets.NEXUS_PASSWORD }}

0 commit comments

Comments
 (0)