Skip to content

Commit e6aa913

Browse files
authored
Create publish.yml
1 parent c7409d1 commit e6aa913

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish to Bintray
2+
3+
on:
4+
release:
5+
types: [ published ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@main
12+
- uses: actions/setup-java@v1
13+
with:
14+
java-version: 14
15+
- name: Change wrapper permissions
16+
run: chmod +x ./gradlew
17+
- name: Publish with Gradle
18+
run: BINTRAY_USER=${{ secrets.BINTRAY_USER }} BINTRAY_API_KEY=${{ secrets.BINTRAY_API_KEY }} ./gradlew publish

0 commit comments

Comments
 (0)