From dd90262db2184c901c47d28a0eb9b6ee5cab8af7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 27 Aug 2021 18:48:48 +0300 Subject: [PATCH] ci: try to create license file by ourselves --- .github/workflows/c-cpp.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 6bf32aaa..1a419997 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -86,7 +86,9 @@ jobs: if: matrix.targetos == 'linux' && matrix.targetarch == 'amd64' run: | tar -xvf pvs-studio.tgz && mv ${{ env.PVS_VERSION }} pvs-studio - pvs-studio/bin/pvs-studio-analyzer credentials ${{ secrets.PVS_NAME }} ${{ secrets.PVS_KEY }} + mkdir -p ~/.config/PVS-Studio + echo ${{ secrets.PVS_NAME }} > ~/.config/PVS-Studio/PVS-Studio.lic + echo ${{ secrets.PVS_KEY }} >> ~/.config/PVS-Studio/PVS-Studio.lic pvs-studio/bin/pvs-studio-analyzer analyze --file build/compile_commands.json -j3 pvs-studio/bin/plog-converter -a GA:1,2 -t sarif -o report.sarif PVS-Studio.log - name: Upload SARIF