diff options
author | Soren Ptak <ptaksoren@gmail.com> | 2023-11-28 08:08:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 08:08:57 +0300 |
commit | 76f3aa5b05e5c38e423e83eea23f5b34c15d3316 (patch) | |
tree | d85567f3f12a171fd0df66280be0ee98d9df6a10 | |
parent | 61f35dc6b1ba8707dc6a8afce65ed7b8a3af1c82 (diff) |
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>
-rw-r--r-- | .github/workflows/coverity_scan.yml | 3 |
1 files changed, 2 insertions, 1 deletions
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} \ |