Skip to content

Commit

Permalink
Provide the proper env for the script #6
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Apr 25, 2024
1 parent bf64f78 commit 8030029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-to-dejacode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: nexB/scancode-action@alpha
- uses: nexB/scancode-action@push-to-dejacode
with:
pipelines: "scan_codebase"
output-formats: "json"
Expand Down
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ runs:
--project ${{ inputs.project-name }} \
--format ${{ inputs.output-formats }}
project_outputs=$(ls ${{ env.PROJECT_OUTPUT_DIRECTORY }}))
echo "PROJECT_OUTPUTS=$project_outputs" >> $GITHUB_ENV
echo "DEBUG"
echo "PROJECT_OUTPUTS=$project_outputs" >> $GITHUB_OUTPUT
echo ${{ env.PROJECT_OUTPUT_DIRECTORY }}
echo ${{ env.PROJECT_OUTPUTS }}
Expand Down

0 comments on commit 8030029

Please sign in to comment.