Skip to content

Commit d5e84f7

Browse files
Correct CONDA_BLD value for build_windows set of conda-packages
1 parent 76f231a commit d5e84f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ jobs:
7878
strategy:
7979
matrix:
8080
python: ['3.9', '3.10', '3.11', '3.12']
81-
env:
82-
conda-bld: C:\Miniconda\conda-bld\win-64\
8381
steps:
8482
- uses: actions/checkout@v4.1.7
8583
with:
@@ -113,6 +111,7 @@ jobs:
113111
- name: Store conda paths as envs
114112
shell: bash -l {0}
115113
run: |
114+
echo "CONDA_BLD=$CONDA_PREFIX/conda-bld/win-64/" | tr "\\\\" '/' >> $GITHUB_ENV
116115
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
117116
118117
- name: Build conda package
@@ -126,7 +125,7 @@ jobs:
126125
uses: actions/upload-artifact@v4.4.0
127126
with:
128127
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
129-
path: ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.tar.bz2
128+
path: ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2
130129

131130
- name: Upload wheels artifact
132131
uses: actions/upload-artifact@v4.4.0

0 commit comments

Comments
 (0)