-
Notifications
You must be signed in to change notification settings - Fork 7
Fix determining version #32
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
Conversation
…s/setup-snfoundry into 31-fix-determining-version
…s/setup-snfoundry into 31-fix-determining-version
} | ||
|
||
async function determineVersion(version, toolVersionsPath, repo) { | ||
version = version?.trim(); |
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.
note: It's trimmed by default
https://github.com/actions/toolkit/blob/683703c1149439530dcee7b8c5dbbfeec4104368/packages/core/src/core.ts#L151-L162
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.
lgtm, but please address the nitpick before merging
Closes #31
Fix handling of
starknet-foundry-version
andtool-versions
inputs - they now correctly determine the version to use.