Skip to content

Commit

Permalink
set CONDA environment variable regardless of useBundled option (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
robandpdx authored Oct 30, 2024
1 parent 1a6b55c commit 27f1202
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions dist/setup/index.js

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

6 changes: 2 additions & 4 deletions src/outputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ export async function setPathVariables(
const condaPath: string = conda.condaBasePath(inputs, options);
core.info(`Add "${condaBin}" to PATH`);
core.addPath(condaBin);
if (!options.useBundled) {
core.info(`Set 'CONDA="${condaPath}"'`);
core.exportVariable("CONDA", condaPath);
}
core.info(`Set 'CONDA="${condaPath}"'`);
core.exportVariable("CONDA", condaPath);
}

/**
Expand Down

0 comments on commit 27f1202

Please sign in to comment.