Skip to content

Commit 321f593

Browse files
committed
Correct path to the conda build folder
1 parent b185586 commit 321f593

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/conda-package.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,12 @@ jobs:
5858
- name: Store conda paths as envs
5959
shell: bash -el {0}
6060
run: |
61-
echo "CONDA_BLD=$CONDA_PREFIX/conda-bld/linux-64/" >> $GITHUB_ENV
61+
echo "CONDA_BLD=/usr/share/miniconda/conda-bld/linux-64/" >> $GITHUB_ENV
6262
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE/" >> $GITHUB_ENV
6363
6464
- name: Build conda package
6565
run: |
66+
WHEELS_OUTPUT_FOLDER="$GITHUB_WORKSPACE/"
6667
CHANNELS="-c conda-forge -c https://software.repos.intel.com/python/conda --override-channels"
6768
VERSIONS="--python ${{ matrix.python }}"
6869
TEST="--no-test"
@@ -83,7 +84,7 @@ jobs:
8384
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
8485
with:
8586
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
86-
path: ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.PACKAGE_NAME }}-*.whl
87+
path: ${{ env.WHEELS_OUTPUT_FOLDER }}mkl_service-*.whl
8788

8889
build_windows:
8990
runs-on: windows-latest
@@ -128,8 +129,8 @@ jobs:
128129
- name: Store conda paths as envs
129130
shell: bash -el {0}
130131
run: |
131-
echo "CONDA_BLD=$CONDA_PREFIX\conda-bld\win-64\" >> $GITHUB_ENV
132-
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE\" >> $GITHUB_ENV
132+
echo "CONDA_BLD=C:\\Miniconda\\conda-bld\\win-64\\" >> $GITHUB_ENV
133+
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE\\" >> $GITHUB_ENV
133134
134135
- name: Build conda package
135136
run: conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
@@ -144,7 +145,7 @@ jobs:
144145
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
145146
with:
146147
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
147-
path: ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.PACKAGE_NAME }}-*.whl
148+
path: ${{ env.WHEELS_OUTPUT_FOLDER }}mkl_service-*.whl
148149

149150
test_linux:
150151
needs: build_linux

0 commit comments

Comments
 (0)