Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: "Set MACOSX_DEPLOYMENT_TARGET"
if: startsWith(matrix.os, 'macos')
# Allows version targets to be set per architecture.
run: echo "MACOSX_DEPLOYMENT_TARGET=$([[ ${{ matrix.os }} == 'macos-latest' ]] && echo '15.0' || echo '15.0')" >> $GITHUB_ENV
run: echo "MACOSX_DEPLOYMENT_TARGET=$([[ ${{ matrix.os }} == 'macos-latest' ]] && echo '26.0' || echo '15.0')" >> $GITHUB_ENV


- name: "Conda install"
Expand All @@ -103,7 +103,7 @@ jobs:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD: "cp311-* cp314-*"
CIBW_BUILD_FRONTEND: build
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_BEFORE_BUILD_LINUX: yum install -y udunits2-devel
CIBW_BEFORE_BUILD_MACOS: brew install udunits
CIBW_BEFORE_BUILD_WINDOWS: python -m pip install delvewheel
Expand Down Expand Up @@ -166,6 +166,9 @@ jobs:
needs: [build_bdist, build_sdist]
name: "Publish to Test PyPI"
runs-on: ubuntu-latest
permissions:
id-token: write # Mandatory for PyPI Trusted Publishing OpenID Connect (OIDC)
environment: test-pypi
# upload to Test PyPI for every commit on main branch
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'
steps:
Expand All @@ -176,8 +179,6 @@ jobs:

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Comment thread
trexfeathers marked this conversation as resolved.
repository_url: https://test.pypi.org/legacy/
skip_existing: true
print_hash: true
Expand All @@ -187,6 +188,9 @@ jobs:
needs: [build_bdist, build_sdist]
name: "Publish to PyPI"
runs-on: ubuntu-latest
permissions:
id-token: write # Mandatory for PyPI Trusted Publishing OpenID Connect (OIDC)
environment: pypi
# upload to PyPI for every tag starting with 'v'
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
Expand All @@ -197,6 +201,4 @@ jobs:

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
print_hash: true
Loading