From fd68e8a9f7fcb757b571509f73d50037744382cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Vajner?= Date: Thu, 3 Dec 2020 21:29:07 +0100 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8838804..d959fb20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,7 @@ jobs: - name: Make gradlew executable run: chmod +x ./gradlew - name: Gradle Publish Snapshot + if: env.BINTRAY_USER != 'SKIP_BINTRAY_PUBLISH' env: BINTRAY_USER: ${{ secrets.BINTRAY_USER }} BINTRAY_PASS: ${{ secrets.BINTRAY_PASSWORD }}