From 25cc816025850c9221ed9b854e774dfa88a58088 Mon Sep 17 00:00:00 2001 From: Yo-An Lin Date: Wed, 20 Jul 2022 19:08:42 +0800 Subject: [PATCH] Fix coverity token variable (#151) --- .github/workflows/coverity.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index eb4a41c..77167ce 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -11,7 +11,7 @@ jobs: - name: Download Coverity run: | cd .. - wget -q https://scan.coverity.com/download/linux64 --post-data "token=${COVERITY_TOKEN}&project=r3" -O coverity-linux64.tgz + wget -q https://scan.coverity.com/download/linux64 --post-data "token=${{secrets.COVERITY_TOKEN}}&project=r3" -O coverity-linux64.tgz mkdir coverity tar xzf coverity-linux64.tgz --strip 1 -C coverity echo "$(pwd)/coverity/bin" >> $GITHUB_PATH @@ -28,7 +28,7 @@ jobs: run: | tar czvf r3.tgz cov-int curl \ - --form token=${COVERITY_TOKEN} \ + --form token=${{secrets.COVERITY_TOKEN}} \ --form email=yoanlin93+github@gmail.com \ --form file=@r3.tgz \ --form version=${GITHUB_SHA} \