From bb8b24ecbaabe589e734404f41d6af62e76d3157 Mon Sep 17 00:00:00 2001 From: x-io Technologies Date: Fri, 1 Mar 2024 08:51:49 +0000 Subject: [PATCH] Fix CI --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a94821..12bc2ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: | @@ -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] }} @@ -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 @@ -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: @@ -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: |