Skip to content

Commit f52dd58

Browse files
committed
Add step with rebuilding conda package on failure
1 parent c42ec11 commit f52dd58

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ jobs:
8989
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
9090
9191
- name: Build conda package
92+
id: build_conda_pkg
93+
continue-on-error: true
94+
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
95+
env:
96+
MAX_BUILD_CMPL_MKL_VERSION: '2025.1a0'
97+
98+
- name: ReBuild conda package
99+
if: steps.build_conda_pkg.outcome == 'failure'
92100
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
93101
env:
94102
MAX_BUILD_CMPL_MKL_VERSION: '2025.1a0'

0 commit comments

Comments
 (0)