Skip to content

Commit 191f516

Browse files
authored
Correct GITHUB_ACTIONS variable and add missing GITHUB_JOB
It took me nearly 3 hours to debug this package. I can't believe in my eyes
1 parent 7e99416 commit 191f516

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/bundler-plugin-core/src/utils/providers/GitHubActions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ export async function getServiceParams(
214214

215215
export function getEnvVarNames() {
216216
return [
217-
"GITHUB_ACTION",
217+
"GITHUB_ACTIONS",
218+
"GITHUB_JOB",
218219
"GITHUB_HEAD_REF",
219220
"GITHUB_REF",
220221
"GITHUB_REPOSITORY",

0 commit comments

Comments
 (0)