Skip to content

Commit bf2c04a

Browse files
Use actual base environment path
1 parent d5e84f7 commit bf2c04a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
conda activate
9696
conda install -y conda-build
9797
conda list -n base
98+
conda info --base > base_env_path.txt
9899
99100
- name: Cache conda packages
100101
uses: actions/cache@v4
@@ -111,7 +112,7 @@ jobs:
111112
- name: Store conda paths as envs
112113
shell: bash -l {0}
113114
run: |
114-
echo "CONDA_BLD=$CONDA_PREFIX/conda-bld/win-64/" | tr "\\\\" '/' >> $GITHUB_ENV
115+
echo "CONDA_BLD=$(cat base_env_path.txt)" | tr "\\\\" '/' >> $GITHUB_ENV
115116
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
116117
117118
- name: Build conda package

0 commit comments

Comments
 (0)