-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Adapt the workflow to release on SDKMAN! #20535
Conversation
eae8194
to
aa9d461
Compare
aa9d461
to
857bf12
Compare
.github/workflows/publish-sdkman.yml
Outdated
runs-on: ubuntu-latest | ||
needs: publish | ||
steps: | ||
- uses: hamzaremmal/sdkman-default-action@main # TODO: Make a release of the action and configure the version here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any estimate of how much effort would take to make a release for these actions? I'm mostly sceptical about using a main branch directly as it's fragile to any changes.
A tag (preferred if possible) or even a commit pointing to well known revision might be a better idea and might prevent getting any unexpected changes in these workflows when publishing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not much actually, I just have to write the documentation for it and ask the author of sdkman about the body of the reponse to parse it to extract them as outputs. (See action.yml
). In all cases, this action is fully working but I don't have the time at the moment to polish these details.
A tag (preferred if possible) or even a commit pointing to well known revision might be a better idea and might prevent getting any unexpected changes in these workflows when publishing.
Agreed, I will update these to use the commit instead of the branch.
Adapts the workflow to the changes in #20351