Move SARIF files to directory with single-level (#3283)

This commit is contained in:
Paulo Matos 2020-07-03 16:10:18 +02:00 committed by GitHub
parent b3175b7202
commit 8343bd2d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,12 +43,15 @@ jobs:
run: |
export cpus=$(grep -c ^processor /proc/cpuinfo)
scan-build -sarif -o ../../racketcgc-report -analyzer-config 'crosscheck-with-z3=true' make -j$((cpus + 1))
tree ../../racketcgc-report/
- name: Move sarif results
run: |
mkdir sarif-files
find racketcgc-report -type f -name '*.sarif' -exec cp \{\} sarif-files/ \;
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v1
if: always()
with:
sarif_file: racketcgc-report
sarif_file: sarif-files
- name: Tarballing
run: tar -cvjf racketcgc-report-${{ github.sha }}.tar.bz2 racketcgc-report
- uses: actions/upload-artifact@v1