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

Add step output "version" parameter for other parts of the workflow #24

Merged
merged 2 commits into from
Apr 17, 2020

Conversation

benwinding
Copy link
Contributor

This adds the newVersion variable to an output variable in the Workflow context. It simply uses the workflow command detailed here.

Below shows the use-case I'm using it for (leaving a comment of the version deployed). I've been testing it with my own deployment of this github action and npm package

Link to Deploy action
image

Link to Flow Run
image

Link to PR
image

Let me know what you think!

@mikeal
Copy link
Owner

mikeal commented Apr 17, 2020

awesome! thanks! :)

@mikeal mikeal merged commit 601cf12 into mikeal:master Apr 17, 2020
@benwinding
Copy link
Contributor Author

No worries, might need to update the Readme to reflect this, but not sure if you want to do that. Cheers

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

Successfully merging this pull request may close these issues.

2 participants