Skip to content

Commit 1ab6cd7

Browse files
committed
improved workflow
1 parent b0055e5 commit 1ab6cd7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ jobs:
6565
env:
6666
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
6767
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
68-
run: ./gradlew -PSNAPSHOT publish
68+
run: ./gradlew publishSnapshot

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: release
22

33
on:
44
push:
5-
tags:
6-
- 'v*'
7-
# release:
8-
# types: [published]
5+
release:
6+
types: [published]
7+
# tags:
8+
# - 'v*'
99

1010
jobs:
1111

@@ -32,4 +32,4 @@ jobs:
3232
env:
3333
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
3434
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
35-
run: ./gradlew -PRELEASE publish
35+
run: ./gradlew publishRelease

0 commit comments

Comments
 (0)