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

pin micromamba default version to 1.* #232

Merged
merged 2 commits into from
Oct 3, 2024
Merged

pin micromamba default version to 1.* #232

merged 2 commits into from
Oct 3, 2024

Conversation

pavelzw
Copy link
Member

@pavelzw pavelzw commented Oct 3, 2024

No description provided.

@pavelzw pavelzw added the enhancement New feature or request label Oct 3, 2024
@@ -146,7 +146,7 @@ const inferOptions = (inputs: Inputs): Options => {
// if micromambaUrl is specified, use that, otherwise use micromambaVersion (or 'latest' if not specified)
const micromambaSource = inputs.micromambaUrl
? right(inputs.micromambaUrl)
: left(inputs.micromambaVersion || 'latest')
: left(inputs.micromambaVersion || '1.5.10-0')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would require updating the GHA each time a 1.x is released, which I find fragile, but I don't have a better solution for now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

every other solution would imply some weird api calls to get the latest v1 version which could also break

@pavelzw pavelzw merged commit 4b9113a into main Oct 3, 2024
63 checks passed
@pavelzw pavelzw deleted the pin-micromamba-1 branch October 3, 2024 13:01
@JohanMabille
Copy link
Member

@pavelzw are you tagging a new release of the GHA?

@pavelzw
Copy link
Member Author

pavelzw commented Oct 3, 2024

https://github.com/mamba-org/setup-micromamba/releases/tag/v1.11.0 @JohanMabille

@JohanMabille
Copy link
Member

Thanks a lot for the quick fix and release!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants