diff --git a/action.yml b/action.yml index 0bb5264..ebf7e61 100644 --- a/action.yml +++ b/action.yml @@ -52,6 +52,6 @@ runs: - id: codecov-ats run: ./codecov_ats.sh shell: bash - with: + env: CODECOV_TOKEN: ${{ inputs.token }} CODECOV_STATIC_TOKEN: ${{ inputs.static_token }} diff --git a/codecov_ats.sh b/codecov_ats.sh index c6f2a60..6c9d9d7 100755 --- a/codecov_ats.sh +++ b/codecov_ats.sh @@ -1,3 +1,9 @@ +set -x + +echo "token:" +echo $CODECOV_TOKEN + + pip install codecov-cli codecovcli create-commit -t ${CODECOV_TOKEN} || >&2 echo 'Codecov: Failed to properly create commit'