From 00626445fb02f581c354954cfd3125a46584084f Mon Sep 17 00:00:00 2001 From: Kirill Kuzminykh Date: Thu, 27 Oct 2022 01:12:23 +0400 Subject: [PATCH] Fixed github actions. --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5a76277..9aee334 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,14 +46,16 @@ jobs: cd .. - name: Build Wheels + if: ${{ matrix.python-version == '3.11' }} uses: messense/maturin-action@v1 with: maturin-version: latest target: x86_64 manylinux: auto - args: --release --strip --out dist -i python + args: --release --strip --out dist -i 3.7 3.8 3.9 3.10 3.11 - name: Install built wheel + if: ${{ matrix.python-version == '3.11' }} run: | cd dist python -m pip install cykooz.resizer --no-index --find-links ./ --force-reinstall @@ -61,6 +63,7 @@ jobs: cd .. - name: Upload wheels + if: ${{ matrix.python-version == '3.11' }} uses: actions/upload-artifact@v3 with: name: wheels