Skip to content

Commit 2319afc

Browse files
author
Soroosh Sarabadani
committed
Update the snapshot on every merge into the master
1 parent f0317c9 commit 2319afc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release Snapshot to Maven Central
2+
on:
3+
push:
4+
branchs: [ master ]
5+
jobs:
6+
publish-snapshot:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Java and Maven
11+
uses: actions/setup-java@v1
12+
with:
13+
java-version: 11
14+
- name: Release Maven package
15+
uses: samuelmeuli/action-maven-publish@v1
16+
with:
17+
maven_profiles: "release"
18+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
19+
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
20+
nexus_username: ${{ secrets.OSSRH_USERNAME }}
21+
nexus_password: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)