Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 5c842aa

Browse files
committed
misc fixes
1 parent c089663 commit 5c842aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
- run:
2626
name: Upload FOSSA analysis (from master only)
2727
command: |
28-
if [[ ( -n "$FOSSA_API_KEY" ) ]]; then
29-
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash;
28+
if [[ ( -n "$FOSSA_API_KEY" ) && ( "$CIRCLE_BRANCH" == "master" ) ]]; then
29+
curl -s -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash;
3030
fossa init;
31-
FOSSA_API_KEY=$FOSSA_API_KEY fossa -p java-client;
31+
FOSSA_API_KEY=$FOSSA_API_KEY fossa;
3232
fi

0 commit comments

Comments
 (0)