Skip to content

Commit 8022997

Browse files
Merge pull request #19 from icerockdev/task/WD-359
WD-359 Add github workflows
2 parents 339508d + c5c5277 commit 8022997

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/distribution.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Bintray Distribution
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
gradle:
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest]
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-java@v1
14+
with:
15+
java-version: 1.8
16+
- uses: eskatos/gradle-command-action@v1
17+
with:
18+
arguments: build
19+
- uses: eskatos/gradle-command-action@v1
20+
with:
21+
arguments: :web-utils:publish -DBINTRAY_USER=${{ secrets.BINTRAY_USER }} -DBINTRAY_KEY=${{ secrets.BINTRAY_KEY }} -PlibraryPublish

0 commit comments

Comments
 (0)