Skip to content

Commit

Permalink
fix runId export
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Sep 13, 2024
1 parent a8fb16d commit 402e735
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/trigger-e2e-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
if (runs.data.workflow_runs.length > 0) {
const runId = runs.data.workflow_runs[0].id;
console.log(`Captured runId: ${runId}`);
return { runId };
// Set the runId as an output
core.setOutput('runId', runId);
} else {
throw new Error('No workflow run found.');
}
Expand Down

0 comments on commit 402e735

Please sign in to comment.