Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xioTechnologies committed Mar 1, 2024
1 parent 58f9d2e commit bb8b24e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: [ "cp38-", "cp39-", "cp310-", "cp311-", "cp312-" ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build CMake targets
run: |
Expand All @@ -40,12 +40,12 @@ jobs:
- if: matrix.target[0] == 'ubuntu-latest'
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build wheel
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_ARCHS: all
CIBW_BUILD: ${{ matrix.python-version }}${{ matrix.target[1] }}
Expand All @@ -55,18 +55,18 @@ jobs:
CIBW_TEST_COMMAND_WINDOWS: cd /D {project}/Python && python advanced_example.py no_block && python simple_example.py no_block
CIBW_TEST_SKIP: "*-macosx_arm64" # fix CI warning

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifacts
name: wheel-${{ matrix.python-version }}${{ matrix.target[1] }}
path: wheelhouse/*

build_sdist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9" # build sdist on lowest supported Python

Expand All @@ -79,9 +79,9 @@ jobs:
- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifacts
name: sdist
path: dist/*

publish:
Expand All @@ -90,10 +90,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifacts
path: artifacts
merge-multiple: true

- name: Install dependencies
run: |
Expand Down

0 comments on commit bb8b24e

Please sign in to comment.