Skip to content

Commit

Permalink
Update GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten committed Aug 15, 2024
1 parent 8b75c91 commit 3b10c47
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build-deploy-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
pyver: [cp39, cp310, cp311, cp312]
pyver: [cp39, cp310, cp311, cp312, cp313]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.20.0
env:
CIBW_BUILD: ${{matrix.pyver}}-*
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
Expand All @@ -38,21 +38,21 @@ jobs:
CIBW_TEST_COMMAND: python -m pytest {package}/tests --benchmark-skip
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"

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

build_sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.9"
python-version: "3.12"

- name: Install requirements
run: |
Expand All @@ -63,7 +63,7 @@ jobs:
run: |
python -m build --sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand All @@ -74,7 +74,7 @@ jobs:
outputs:
is_release: ${{ steps.is_release.outputs.is_release }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -125,14 +125,14 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && needs.docs_version.outputs.build_docs == 'true' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: "3.9"
python-version: "3.12"

- name: Install requirements
run: |
Expand All @@ -151,7 +151,7 @@ jobs:
python -I -m sphinx docs html
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./html
Expand All @@ -162,7 +162,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down

0 comments on commit 3b10c47

Please sign in to comment.