Skip to content

Commit fc8260b

Browse files
authored
Update main.yml
1 parent ff6d92c commit fc8260b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: bash <(curl -s https://codecov.io/bash)
3333

3434
release:
35-
if: github.event_name == 'release'
35+
if: github.event_name != 'release'
3636
runs-on: ubuntu-latest
3737
steps:
3838
- uses: actions/checkout@v2
@@ -49,6 +49,6 @@ jobs:
4949
- name: Push codeCoverage to Codecov
5050
run: bash <(curl -s https://codecov.io/bash)
5151
- name: Echo credentials
52-
run: echo "bintrayUser=${{secrets.BINTRAY_USER}}\nbintrayApiKey=${{secrets.BINTRAY_KEY}}" >> gradle.properties
52+
run: echo "bintrayUser=${{secrets.BINTRAY_USER}}\nbintrayApiKey=${{secrets.BINTRAY_KEY}}" >> gradle.properties && cat gradle.properties
5353
- name: Publish plugin
5454
run: ./gradlew bintrayUpload

0 commit comments

Comments
 (0)