Skip to content

Commit

Permalink
Merge pull request #9 from equisoft-actions/meriouma-patch-1
Browse files Browse the repository at this point in the history
Replace artifact with code scanning upload
  • Loading branch information
meriouma authored Dec 29, 2022
2 parents 604dba0 + d531d85 commit 026a90f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,13 @@ runs:
2>&1 | tee ${{ inputs.working-directory }}/build/quality/hadolint.sarif
result=$?
echo "::set-output name=status::$result"
echo "status=$result" >> $GITHUB_OUTPUT
if [ $result -ne 0 ]; then
exit $result
fi
- name: Upload results
uses: actions/upload-artifact@v3
if: always()
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
name: hadolint.sarif
retention-days: ${{ inputs.report-retention-days }}
path: ${{ inputs.working-directory }}/build/quality/hadolint.sarif

sarif_file: ${{ inputs.working-directory }}/build/quality/hadolint.sarif
category: hadolint

0 comments on commit 026a90f

Please sign in to comment.