Skip to content

Commit 1ab0bed

Browse files
author
Ondřej Kalman
authored
Merge pull request #106 from thefuntasty/feature/3-x-github-actions
Fix: fixed publish to bintray and gradle plugin portal
2 parents 29c5f9f + 1617f34 commit 1ab0bed

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ jobs:
1010
runs-on: [ubuntu-latest]
1111
env:
1212
EXCLUDE_APK_FILTER: .*unaligned.apk\|.*Test.*.apk
13-
GRADLE_PUBLISH_KEY: ${{secrets.GRADLE_PUBLISH_KEY}}
14-
GRADLE_PUBLISH_SECRET: ${{secrets.GRADLE_PUBLISH_SECRET}}
15-
BINTRAY_USER: ${{secrets.BINTRAY_USER}}
16-
BINTRAY_KEY: ${{secrets.BINTRAY_KEY}}
17-
BINTRAY_GPG_KEY: ${{secrets.BINTRAY_GPG_KEY}}
1813
BITRISE_GIT_TAG: ${{github.event.release.name}}
1914
steps:
2015
- uses: actions/checkout@v1
@@ -29,6 +24,6 @@ jobs:
2924
shell: bash
3025
run: ./gradlew --continue testRelease
3126
- name: Upload to Bintray
32-
run: ./gradlew build publish bintrayUpload
27+
run: ./gradlew build publish bintrayUpload --stacktrace --no-daemon -PBINTRAY_USER=${{secrets.BINTRAY_USER}} -PBINTRAY_KEY=${{secrets.BINTRAY_KEY}} -PBINTRAY_GPG_KEY=${{secrets.BINTRAY_GPG_KEY}}
3328
- name: Publish plugins
34-
run: ./gradlew publishPlugins
29+
run: ./gradlew publishPlugins -Pgradle.publish.key=${{secrets.GRADLE_PUBLISH_KEY}} -Pgradle.publish.secret=${{secrets.GRADLE_PUBLISH_SECRET}}

0 commit comments

Comments
 (0)