Skip to content

Commit

Permalink
feat: change github actions env vars
Browse files Browse the repository at this point in the history
Signed-off-by: joseph-sentry <[email protected]>
  • Loading branch information
joseph-sentry committed Jan 14, 2024
1 parent de08e38 commit 66e31f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codecov_cli/helpers/ci_adapters/github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 66e31f9

Please sign in to comment.