Skip to content

Commit 27f1202

Browse files
authored
set CONDA environment variable regardless of useBundled option (#350)
1 parent 1a6b55c commit 27f1202

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

dist/setup/index.js

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/outputs.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ export async function setPathVariables(
2323
const condaPath: string = conda.condaBasePath(inputs, options);
2424
core.info(`Add "${condaBin}" to PATH`);
2525
core.addPath(condaBin);
26-
if (!options.useBundled) {
27-
core.info(`Set 'CONDA="${condaPath}"'`);
28-
core.exportVariable("CONDA", condaPath);
29-
}
26+
core.info(`Set 'CONDA="${condaPath}"'`);
27+
core.exportVariable("CONDA", condaPath);
3028
}
3129

3230
/**

0 commit comments

Comments
 (0)