Fix coverity scan. (#12561)

This commit is contained in:
Austin S. Hemmelgarn 2022-03-30 12:32:58 -04:00 committed by GitHub
parent cdcc309759
commit 30e654e62d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ jobs:
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
COVERITY_SCAN_SUBMIT_MAIL: ${{ secrets.COVERITY_SCAN_SUBMIT_MAIL }}
run: |
./coverity-scan.sh --with-install
sh -x ./coverity-scan.sh --with-install
- name: Failure Notification
uses: rtCamp/action-slack-notify@v2
env:

View File

@ -159,11 +159,11 @@ installit() {
fatal "Failed to install coverity."
fi
# Clean temp directory
[ -n "${TMP_DIR}" ] && rm -rf "${TMP_DIR}"
progress "Coverity scan tools are installed."
cd "$ORIGINAL_DIR"
# Clean temp directory
[ -n "${TMP_DIR}" ] && rm -rf "${TMP_DIR}"
return 0
}