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

Commit e3a0633

Browse files
ci: skip Bintray publish also if BINTRAY_USER is null
Formerly it was only skipped if it was explicitly set to SKIP_BINTRAY_PUBLISH. This is retained for backward compatibility.
1 parent 06c23a1 commit e3a0633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: Make gradlew executable
6464
run: chmod +x ./gradlew
6565
- name: Gradle Publish Snapshot
66-
if: env.BINTRAY_USER != 'SKIP_BINTRAY_PUBLISH'
66+
if: env.BINTRAY_USER != 'SKIP_BINTRAY_PUBLISH' && env.BINTRAY_USER != null
6767
env:
6868
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
6969
BINTRAY_PASS: ${{ secrets.BINTRAY_PASSWORD }}

0 commit comments

Comments
 (0)