.github/workflows/coverity-scan.yml: fix coverity scan tool urls

This commit is contained in:
Duncan Overbruck 2020-04-18 14:47:38 +02:00
parent 2bb6fae5d3
commit 6ff38bc320
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35

View File

@ -21,7 +21,7 @@ jobs:
- name: Download Coverity Build Tool - name: Download Coverity Build Tool
run: | run: |
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=ruby" -O cov-analysis-linux64.tar.gz wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&void-linux%2Fxbps" -O cov-analysis-linux64.tar.gz
mkdir cov-analysis-linux64 mkdir cov-analysis-linux64
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64 tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
env: env:
@ -44,12 +44,12 @@ jobs:
run: | run: |
tar czvf xbps.tgz cov-int tar czvf xbps.tgz cov-int
curl \ curl \
--form project=ruby \ --form project=xbps \
--form token=$TOKEN \ --form token=$TOKEN \
--form email=github@voidlinux.org \ --form email=github@voidlinux.org \
--form file=@xbps.tgz \ --form file=@xbps.tgz \
--form version=trunk \ --form version=trunk \
--form description="" \ --form description="github action coverity scan" \
https://scan.coverity.com/builds?project=ruby https://scan.coverity.com/builds?project=void-linux%2Fxbps
env: env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}