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

Commit c652567

Browse files
authored
Merge pull request #590 from BlasiusSecundus/master
2 parents 7c28edd + e3a0633 commit c652567

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 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 }}
@@ -96,4 +96,5 @@ jobs:
9696
env:
9797
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
9898
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
99+
if: env.SONAR_TOKEN != null
99100
run: ./gradlew build jacocoTestReport sonarqube --info

0 commit comments

Comments
 (0)