fix: github.job property is empty, GITHUB_JOB should be job id (#1646)

* fix: github.job property is empty, GITHUB_JOB should be job id

fix: github.job property is empty #1621
fix: GITHUB_JOB should be the id not the name #1473

* fix linter problem.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Alex Savchuk
2023-02-27 22:10:31 +03:00
committed by GitHub
parent 04d12b0206
commit 5500c928eb
3 changed files with 6 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ func TestSetupEnv(t *testing.T) {
"GITHUB_EVENT_PATH": "/var/run/act/workflow/event.json",
"GITHUB_GRAPHQL_URL": "https:///api/graphql",
"GITHUB_HEAD_REF": "",
"GITHUB_JOB": "",
"GITHUB_JOB": "1",
"GITHUB_RETENTION_DAYS": "0",
"GITHUB_RUN_ID": "runId",
"GITHUB_RUN_NUMBER": "1",