Skip to content

Commit

Permalink
log paylaod in build
Browse files Browse the repository at this point in the history
  • Loading branch information
egekocabas committed Jan 17, 2025
1 parent 77485c7 commit b1365a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
with:
result-encoding: string
script: |
console.log(`Event payload is ${JSON.stringify(context.payload)}`);
if (context.eventName === "workflow_dispatch") {
// Use the "tag" passed in via the workflow_call input
return context.payload.inputs.tag;
Expand Down

0 comments on commit b1365a4

Please sign in to comment.