Fix publish.yml
Now it will call the correct task and only fire once per release
This commit is contained in:
parent
4e070027c4
commit
3fdc96d6a5
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -2,7 +2,7 @@ name: Publish Artifacts
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published, created, edited]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -17,8 +17,8 @@ jobs:
|
|||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Publish Artifacts
|
||||||
run: ./gradlew app:bintrayUpload client:bintrayUpload
|
run: ./gradlew api:bintrayUpload client:bintrayUpload
|
||||||
env:
|
env:
|
||||||
RELEASE_VERSION : ${{ github.github_ref }}
|
RELEASE_VERSION : ${{ github.github_ref }}
|
||||||
BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
|
BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user