From 5826b980ee929e5f642ed1d2d07239707cecd981 Mon Sep 17 00:00:00 2001 From: Alexander Malev Date: Thu, 19 Dec 2024 01:40:32 +0300 Subject: [PATCH] fix CI --- .github/workflows/CI.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a74ea1f..2cbc84f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,14 +20,14 @@ jobs: command: build args: --release --sdist -o dist --find-interpreter -F rustls - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.4.3 with: overwrite: true name: wheels path: dist windows: - runs-on: windows-22.04 + runs-on: windows-latest steps: - uses: actions/checkout@v4.1.1 - name: Install hatch @@ -39,8 +39,9 @@ jobs: command: build args: --release -o dist --find-interpreter -F rustls - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.4.3 with: + overwrite: true name: wheels path: dist @@ -61,20 +62,21 @@ jobs: command: build args: --release -o dist --universal2 --find-interpreter -F rustls - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.4.3 with: + overwrite: true name: wheels path: dist release: name: Release - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: name: PyPI url: https://pypi.org/project/redis-rs/${{ github.ref_name }} needs: [ macos, windows, linux ] steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v4.1.8 with: name: wheels - name: Publish to PyPI