Skip to content

Commit

Permalink
Fix channel priority
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag committed Jul 18, 2022
1 parent 52dc9e6 commit 0679694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dist/main/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ async function createOrUpdateEnv (envName, envFilePath, extraSpecs, logLevel) {
const action = fs.existsSync(envFolder) ? 'update' : 'create'
const selectedExtraSpecs = selectSelectors(extraSpecs)
core.info(`${action} env ${envName}`)
let cmd = micromambaCmd(`${action} -n ${envName} --strict-channel-priority -y`, logLevel, PATHS.micromambaExe)
let cmd = micromambaCmd(`${action} -n ${envName} -y`, logLevel, PATHS.micromambaExe)
if (selectedExtraSpecs.length) {
cmd += ' ' + selectedExtraSpecs.map(e => `"${e}"`).join(' ')
}
Expand Down Expand Up @@ -386,7 +386,6 @@ async function installEnvironment (inputs, envFilePath, envYaml) {
const autoactivateCmd = `micromamba activate ${envName};`
if (process.platform === 'win32') {
const ps1File = (await executePwsh('echo $profile')).stdout.trim()
core.warning(path.dirname(ps1File))
fs.appendFileSync(ps1File, '\n' + autoactivateCmd)
dumpFileContents(ps1File)
}
Expand Down

0 comments on commit 0679694

Please sign in to comment.