Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if: steps.create_tag.outputs.successful not working properly #338

Open
parischap opened this issue Jul 10, 2024 · 1 comment
Open

if: steps.create_tag.outputs.successful not working properly #338

parischap opened this issue Jul 10, 2024 · 1 comment

Comments

@parischap
Copy link

parischap commented Jul 10, 2024

The condition steps.create_tag.outputs.successful always returns true. So if: steps.create_tag.outputs.successful always passes.

I had to use: if: steps.create_tag.outputs.successful == 'true' to get it to work

I am absolutely no specialist of this yaml language but it looks like steps.create_tag.outputs.successful is a string and not a boolean. But I may be totally wrong....

@jaywcjlove
Copy link
Owner

@parischap I checked the stability, you're right, thank you

/**
 * Sets the value of an output.
 *
 * @param     name     name of the output to set
 * @param     value    value to store. Non-string values will be converted to a string via JSON.stringify
 */
export declare function setOutput(name: string, value: any): void;

jaywcjlove added a commit that referenced this issue Jul 10, 2024
jaywcjlove added a commit that referenced this issue Jul 10, 2024
github-actions bot pushed a commit that referenced this issue Jul 10, 2024
github-actions bot pushed a commit that referenced this issue Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants