Skip to content

Commit

Permalink
Bump deprecated Github CI steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylc committed Sep 21, 2024
1 parent a9070af commit e1b1f6a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
pip3 install optik-py --no-index --find-links dist
python3 -c "import optik"
- name: upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-binary-${{ matrix.os }}-${{ matrix.target }}
path: dist
- if: github.ref == 'refs/heads/master'
name: update prerelease tag
Expand All @@ -55,16 +55,16 @@ jobs:
sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist --manifest-path crates/optik-py/Cargo.toml
- name: upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-sdist
path: dist

prerelease:
Expand All @@ -75,9 +75,10 @@ jobs:
cancel-in-progress: true
needs: [build_wheels, sdist]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
pattern: wheels-*
merge-multiple: true
path: wheels

- name: GitHub release
Expand Down

0 comments on commit e1b1f6a

Please sign in to comment.