forked from michaelrsweet/pdfio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c6b8f4
commit f425952
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
run: sudo apt-get install -y zlib1g-dev | ||
- name: Download Coverity Build Tool | ||
run: | | ||
wget -q https://scan.coverity.com/download/linux64 --post-data token=$TOKEN\&project=michaelrsweet\%2Fpdfio -O cov-analysis-linux64.tar.gz | ||
wget -q https://scan.coverity.com/download/linux64 --post-data token="$TOKEN&project=$GITHUB_REPOSITORY" -O cov-analysis-linux64.tar.gz | ||
mkdir cov-analysis-linux64 | ||
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64 | ||
env: | ||
|
@@ -26,14 +26,13 @@ jobs: | |
cov-build --dir cov-int make | ||
- name: Submit the result to Coverity Scan | ||
run: | | ||
tar czvf pdfio-cov.tgz cov-int | ||
tar czvf cov.tgz cov-int | ||
curl \ | ||
--form project=ruby \ | ||
--form token=$TOKEN \ | ||
--form [email protected] \ | ||
--form file=@pdfio-cov.tgz \ | ||
--form version="Master" \ | ||
--form description="Snapshot" \ | ||
"https://scan.coverity.com/builds?project=michaelrsweet%2Fpdfio" | ||
--form [email protected] \ | ||
--form version="$GITHUB_REF" \ | ||
--form description="$GITHUB_SHA" \ | ||
"https://scan.coverity.com/builds?project=$GITHUB_REPOSITORY" | ||
env: | ||
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} |