Skip to content

Commit

Permalink
Check conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
rajuljha committed Jun 20, 2024
1 parent 3d17480 commit 7ef0714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fossology-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
echo "File Path : $FILE_PATH"
- name: Run Fossology Scanner with custom keywords
if: ${{ ne(FILE_PATH, '') }}
if: ${{ $FILE_PATH != '' }}
run: |
docker run --rm --name "fossologyscanner" -w "/opt/repo" -v ${PWD}:/opt/repo \
-e GITHUB_TOKEN=${{ github.token }} \
Expand All @@ -133,7 +133,7 @@ jobs:
rjknightmare/fo-ci-test:latest "/bin/fossologyscanner" copyright keyword --keyword-conf "$FILE_PATH"
- name: Run fossology scanner
if: ${{ eq(FILE_PATH, '') }}
if: ${{ $FILE_PATH == '' }}
run : |
docker run --rm --name "fossologyscanner" -w "/opt/repo" -v ${PWD}:/opt/repo \
-e GITHUB_TOKEN=${{ github.token }} \
Expand Down

0 comments on commit 7ef0714

Please sign in to comment.