diff --git a/codecov_cli/helpers/ci_adapters/github_actions.py b/codecov_cli/helpers/ci_adapters/github_actions.py index f12d21056..965be02f5 100644 --- a/codecov_cli/helpers/ci_adapters/github_actions.py +++ b/codecov_cli/helpers/ci_adapters/github_actions.py @@ -39,10 +39,10 @@ def _get_build_url(self): return None def _get_build_code(self): - return os.getenv("GITHUB_RUN_ID") + return os.getenv("GITHUB_RUN_NUMBER") def _get_job_code(self): - return os.getenv("GITHUB_WORKFLOW") + return f"{os.getenv('GITHUB_WORKFLOW')}{os.getenv('GITHUB_JOB')}" def _get_pull_request_number(self): if not os.getenv("GITHUB_HEAD_REF"):