Skip to content

Commit fcc6a82

Browse files
committed
Add step with rebuilding conda package on failure
1 parent 42931e3 commit fcc6a82

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
@@ -85,6 +85,14 @@ jobs:
8585
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
8686
8787
- name: Build conda package
88+
id: build_conda_pkg
89+
continue-on-error: true
90+
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
91+
env:
92+
MAX_BUILD_CMPL_MKL_VERSION: '2025.1a0'
93+
94+
- name: ReBuild conda package
95+
if: steps.build_conda_pkg.outcome == 'failure'
8896
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
8997
env:
9098
MAX_BUILD_CMPL_MKL_VERSION: '2025.1a0'

0 commit comments

Comments
 (0)