Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aamalev committed Dec 18, 2024
1 parent 347fbcc commit 5826b98
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- name: Install hatch
Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 5826b98

Please sign in to comment.