Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
avifenesh authored Apr 2, 2024
1 parent e304506 commit 1ba7a71
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run-ort-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ runs:
using: "composite"
steps:
- name: Run ORT tools
working-directory: ./ort/
uses: oss-review-toolkit/ort-ci-github-action@v1
shell: bash
run: |
echo "Running ORT tools for ${{ inputs.folder_path }}"
FOLDER=${{ inputs.folder_path }}
mkdir $FOLDER/ort_results
# Analyzer (analyzer-result.json)
./gradlew cli:run --args="analyze -i $FOLDER -o $FOLDER/ort_results -f JSON"
ort --info analyze -f JSON -i $FOLDER -o $FOLDER/ort_results
# NOTICE DEFAULT
./gradlew cli:run --args="report -i $FOLDER/ort_results/analyzer-result.json -o $FOLDER/ort_results/ -f PlainTextTemplate"
ort --info report -i $FOLDER/ort_results/analyzer-result.json -o $FOLDER/ort_results/ -f PlainTextTemplate

0 comments on commit 1ba7a71

Please sign in to comment.