From 66e31f95abd4474a856e227e27351fb56a85a7e1 Mon Sep 17 00:00:00 2001
From: joseph-sentry <joseph.sawaya@sentry.io>
Date: Sat, 13 Jan 2024 22:05:59 -0500
Subject: [PATCH] feat: change github actions env vars

Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
---
 codecov_cli/helpers/ci_adapters/github_actions.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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"):