Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send commit SHA to asset library API
Attempting to use the tag fails with: { "error": "Using Git tags or branches is no longer supported. Please give a full Git commit hash instead, or use the Custom download provider for GitHub Releases downloads." } Use the commit hash instead, as described in the action documentation. https://phabricator.endlessm.com/T35503
- Loading branch information
That's too bad. My worry is that if we change this action to also trigger on
workflow_dispatch
, thenGITHUB_SHA
might point to an untagged commit. I guess if we do add that, then we'd want to add some validation thatGITHUB_REF
starts withrefs/tags/
. We did something similar in kolibri-explore-plugin. For the record, I think you could also access this from{{ context.github.sha }}
.