Skip to content

Commit

Permalink
update pre
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Mar 11, 2024
1 parent 60642b8 commit 4854463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/pre.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function run() {
run_id: runId
});
console.log("Jobs:", jobInfo.data.jobs);
const job = jobInfo.data.jobs.find((job2) => job2.name === "GITHUB_JOB");
const job = jobInfo.data.jobs.find((job2) => job2.name === process.env.GITHUB_JOB);
console.log("Job:", job);
if (!job) {
return;
Expand Down
2 changes: 1 addition & 1 deletion src/pre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function run(): Promise<void> {
run_id: runId
});
console.log('Jobs:', jobInfo.data.jobs);
const job = jobInfo.data.jobs.find(job => job.name === 'GITHUB_JOB');
const job = jobInfo.data.jobs.find(job => job.name === process.env.GITHUB_JOB);
console.log('Job:', job);
if (!job) {
return;
Expand Down

0 comments on commit 4854463

Please sign in to comment.