diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index d9dfbbdca..e387eab28 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -69,9 +69,9 @@ jobs: - name: Ensure latest pip and setuptools run: python -m pip install --upgrade pip && pip install --upgrade setuptools - name: Build wheels - run: pip install cibuildwheel && python -m cibuildwheel --output-dir dist + run: pip install 'cibuildwheel < 3' && python -m cibuildwheel --output-dir dist env: - CIBW_BUILD: cp3* + CIBW_BUILD: ${{ inputs.use_lkg && 'cp3{8,9,10,11,12}-*' || 'cp3*' }} CIBW_SKIP: "*musl* *win32 *i686" - name: Upload wheels as artifact uses: actions/upload-artifact@v4