Skip to content

Commit

Permalink
OS version bumps for release runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
TkTech committed Mar 10, 2024
1 parent b492273 commit c101e2a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
name: Creating source release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- name: Setting up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5.0.0
with:
python-version: 3.8

Expand All @@ -34,7 +34,7 @@ jobs:
run: |
pytest
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4.3.1
with:
path: dist/*.tar.gz

Expand All @@ -48,13 +48,13 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
py: ["cp37", "cp38", "cp39", "cp310", "cp311", "pp37", "pp38", "pp39"]
os: [ubuntu-22.04, windows-2022, macos-13]
py: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312", "pp37", "pp38", "pp39"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5.0.0
name: Setting up Python
with:
python-version: '3.8'
Expand All @@ -66,14 +66,14 @@ jobs:
platforms: all

- name: Build & test wheels
uses: pypa/cibuildwheel@v2.12.3
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
CIBW_BUILD: "${{ matrix.py }}-*"
CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4.3.1
with:
path: ./wheelhouse/*.whl

Expand All @@ -82,12 +82,12 @@ jobs:
name: Uploading built packages to pypi for release.
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4.1.4
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@v1.8.14
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit c101e2a

Please sign in to comment.