Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit fd68e8a

Browse files
ci: allow successful build on master branches of forks
By setting BINTRAY_USER to SKIP_BINTRAY_PUBLISH, it is possible now to disable the snapshot publishing job, allowing master branches of forks to successfully pass the ci.
1 parent 3afbfee commit fd68e8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
- name: Make gradlew executable
6363
run: chmod +x ./gradlew
6464
- name: Gradle Publish Snapshot
65+
if: env.BINTRAY_USER != 'SKIP_BINTRAY_PUBLISH'
6566
env:
6667
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
6768
BINTRAY_PASS: ${{ secrets.BINTRAY_PASSWORD }}

0 commit comments

Comments
 (0)