Skip to content

Commit 4b9113a

Browse files
authored
pin micromamba default version to 1.* (#232)
1 parent 59b1132 commit 4b9113a

6 files changed

Lines changed: 77 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v4
4040
- uses: ./
41+
with:
42+
micromamba-version: 2.0.2-0
4143
- run: |
4244
micromamba info | grep -q "environment : base"
4345
shell: bash -el {0}
@@ -168,6 +170,7 @@ jobs:
168170
with:
169171
environment-file: 'test/environment.yml'
170172
condarc-file: 'test/.condarc'
173+
micromamba-version: 2.0.2-0
171174
- run: | # this should only work when the pytorch channel is loaded, i.e., the custom condarc is used
172175
micromamba search pytorch=2.0.0
173176
micromamba search pytorch=2.0.0 | grep -q "pytorch 2.0.0 py3.10_cpu_0"

dist/licenses.txt

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-micromamba",
3-
"version": "1.10.0",
3+
"version": "1.11.0",
44
"private": true,
55
"description": "Action to setup micromamba",
66
"scripts": {

src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const inferOptions = (inputs: Inputs): Options => {
146146
// if micromambaUrl is specified, use that, otherwise use micromambaVersion (or 'latest' if not specified)
147147
const micromambaSource = inputs.micromambaUrl
148148
? right(inputs.micromambaUrl)
149-
: left(inputs.micromambaVersion || 'latest')
149+
: left(inputs.micromambaVersion || '1.5.10-0')
150150

151151
// we write to condarc if a condarc file is not already specified
152152
const writeToCondarc = inputs.condarcFile === undefined

0 commit comments

Comments
 (0)