From 76f3aa5b05e5c38e423e83eea23f5b34c15d3316 Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Tue, 28 Nov 2023 00:08:57 -0500 Subject: [PATCH] The curl command to send the report expects the tar file to be in its current directory. The step either needed to have the working-directory: set to the build directory, or the tar file needs to be created in the parent directory. (#903) Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> --- .github/workflows/coverity_scan.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverity_scan.yml b/.github/workflows/coverity_scan.yml index 5fa15f736..21e7359f6 100644 --- a/.github/workflows/coverity_scan.yml +++ b/.github/workflows/coverity_scan.yml @@ -61,7 +61,8 @@ jobs: cmake -S ./examples/cmake_example/ -B build cd build cov-build --dir cov-int make -j - tar czvf gcc_freertos_kernel_sample_build.tgz cov-int + # Move the report out of the build directory + tar czvf ../gcc_freertos_kernel_sample_build.tgz cov-int COV_SCAN_UPLOAD_STATUS=$(curl --form token=${COVERITY_TOKEN} \ --form email=${COVERITY_EMAIL} \