diff --git a/.github/workflows/codecov-publish.yml b/.github/workflows/codecov-publish.yml index 2df0aac32..134431eeb 100644 --- a/.github/workflows/codecov-publish.yml +++ b/.github/workflows/codecov-publish.yml @@ -29,8 +29,8 @@ jobs: # Read the JSON file and export each key-value pair as an environment variable for key in $(jq -r 'keys[]' ./codecov_info.json); do value=$(jq -r --arg key "$key" '.[$key]' ./codecov_info.json) - echo "codecov_info.$key=$value" >> $GITHUB_ENV - echo "codecov_info.$key=$value" + echo "codecov_info_$key=$value" >> $GITHUB_ENV + echo "codecov_info_$key=$value" done - name: Check Result id: checkciskip @@ -80,8 +80,8 @@ jobs: fail_ci_if_error: true files: /**/coverage-reports/**/*.* flags: unittests - override_branch: ${{ env.codecov_info.branch }} - override_commit: ${{ env.codecov_info.commit }} - override_pr: ${{ env.codecov_info.pr_number }} + override_branch: ${{ env.codecov_info_branch }} + override_commit: ${{ env.codecov_info_commit }} + override_pr: ${{ env.codecov_info_pr_number }} token: ${{ secrets.CODECOV_TOKEN }} verbose: true \ No newline at end of file