Skip to content

Commit

Permalink
set output differently
Browse files Browse the repository at this point in the history
  • Loading branch information
dleviminzi committed Sep 26, 2024
1 parent 100a44f commit 0d26fd7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/release-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ jobs:
if (isRelease) {
const release = context.payload.release;
return {
name: release.name,
body: release.body,
created_at: release.created_at
};
core.setOutput('name', release.name);
core.setOutput('body', release.body);
core.setOutput('created_at', release.created_at);
} else {
return {
name: "mock release",
body: "This is a mock release body for testing purposes.",
created_at: new Date().toISOString()
};
core.setOutput('name', 'test v1.0.0');
core.setOutput('body', 'This is a mock release body for testing purposes.');
core.setOutput('created_at', new Date().toISOString());
}
- name: Checkout beam-docs repo
Expand Down

0 comments on commit 0d26fd7

Please sign in to comment.