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

Return an output for following jobs/steps to use #3

Open
munapower opened this issue Mar 11, 2024 · 1 comment
Open

Return an output for following jobs/steps to use #3

munapower opened this issue Mar 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@munapower
Copy link

Expected Behavior

When the action is run, it always returns success, and in the description it explains if it was Good Spelling or Perfect Spelling. It would be convenient to be able to use the output for the user to determine potential next steps, for example, if they want to fail the job.

Possible Solution

Adding outputs to the action.yml and then add at the end of the run the instructions to core.setOuput ...

Additional Context

image The Spell Checker was actually defined as a step in a job but it runs as a separate job, which I don't mind, but I do need to get the output.
@munapower munapower added the enhancement New feature or request label Mar 11, 2024
@munapower
Copy link
Author

@bubkoo could you help me? I have been trying to add the functionality and I have tried to test it locally using act. I get to the point where you create the check and I can't get it to move forward from there. So I am trying to test it on github but the yaml uses your "use-app-token" that needs secrets.APP_ID and secrets.PRIVATE_KEY which I am not sure what those values should be. I have pushed the changes to the addOuput branch of my fork.
TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant