Skip to content

Commit

Permalink
Changed to get the job name (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
8398a7 committed Jun 25, 2020
1 parent 728bcb5 commit 5e4b1f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/github/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export class Context {
workflow: string
action: string
actor: string
job: string
runNumber: number
runId: number

Expand All @@ -39,6 +40,7 @@ export class Context {
this.workflow = process.env.GITHUB_WORKFLOW as string
this.action = process.env.GITHUB_ACTION as string
this.actor = process.env.GITHUB_ACTOR as string
this.job = process.env.GITHUB_JOB as string
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER as string, 10)
this.runId = parseInt(process.env.GITHUB_RUN_ID as string, 10)
}
Expand Down

0 comments on commit 5e4b1f1

Please sign in to comment.