Skip to content

Commit

Permalink
fix wfp test command
Browse files Browse the repository at this point in the history
  • Loading branch information
eeisegn committed Aug 15, 2023
1 parent 223f3cd commit a454acd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/java-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ jobs:
if: runner.os == 'Windows'
shell: pwsh
run: |
cd target
.\scanoss-java-${{ github.event.inputs.build_env }}.exe -h
.\scanoss-java-${{ github.event.inputs.build_env }}.exe wfp -o fingers-${{ github.event.inputs.build_env }}.wfp .
cd ..
.\target\scanoss-java-${{ github.event.inputs.build_env }}.exe -h
.\target\scanoss-java-${{ github.event.inputs.build_env }}.exe wfp src > fingers-${{ github.event.inputs.build_env }}.wfp
- name: Test Binary Unix
if: runner.os != 'Windows'
run: |
./target/scanoss-java-${{ github.event.inputs.build_env }} -h
./target/scanoss-java-${{ github.event.inputs.build_env }} wfp -o fingers-${{ github.event.inputs.build_env }}.wfp src
./target/scanoss-java-${{ github.event.inputs.build_env }} wfp src > fingers-${{ github.event.inputs.build_env }}.wfp
wfps=$(fgrep 'file=' fingers-${{ github.event.inputs.build_env }}.wfp | wc -l)
echo "Found ${wfps} in src."

0 comments on commit a454acd

Please sign in to comment.