Skip to content

Commit 33aebf2

Browse files
committed
Add publish workflow
1 parent c9892fa commit 33aebf2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: gradle:jdk8
13+
steps:
14+
- uses: actions/checkout@v2
15+
name: Check out
16+
17+
- run: gradle publishMavenPublicationToPocolifoRepository
18+
name: Publish
19+
env:
20+
RELEASE_VERSION: ${{ github.ref_name }}
21+
REPO_URL: ${{ secrets.REPO_URL }}
22+
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
23+
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}

0 commit comments

Comments
 (0)