-
-
Notifications
You must be signed in to change notification settings - Fork 116
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 long_sha
output
#341
Comments
@CWSites it sure is something that I could add! In the meanwhile, you can get the full sha with - uses: EndBug/add-and-commit@...
id: commit
...
- id: helper
run: echo "::set-output name={long_sha}::{$(git rev-parse ${{ steps.commit.outputs.commit_sha }})}"
- name: Your other step
run: echo ${{ steps.helper.outputs.long_sha }} If I didn't make any typos, this should be a workaround: the |
Thanks for the quick response, I'm testing this out now. |
I must be doing something wrong here, I'm getting back
|
You forgot to add |
Ohhh I see, thank you! Trying this now |
Alrighty, we are getting closer...
The first part is showing the short SHA, the long output is still showing |
Maybe it's the |
No joy, same output as above with
|
This feature has been added in |
Hey @EndBug I appreciate your work here, would you be able to extend the sha output to be the full sha and not just the last 7 characters? I'm trying to use this on other actions which require the full sha.
Originally posted by @CWSites in #200 (comment)
The text was updated successfully, but these errors were encountered: