diff --git a/dist/setup/index.js b/dist/setup/index.js index 6e625ba2..705f3136 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -48905,10 +48905,8 @@ function setPathVariables(inputs, options) { const condaPath = 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); }); } exports.setPathVariables = setPathVariables; diff --git a/src/outputs.ts b/src/outputs.ts index 61d33a07..cb1aa6c0 100644 --- a/src/outputs.ts +++ b/src/outputs.ts @@ -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); } /**