Skip to content

Commit

Permalink
Downgrade action in v3
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Jan 5, 2024
1 parent f0a9de9 commit b279ce6
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
sccache: 'true'
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: egobox-ubuntu-${{ matrix.target }}
name: wheels
path: dist

windows:
Expand All @@ -56,10 +56,10 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: egobox-windows-${{ matrix.target }}
path: dist/*.whl
name: wheels
path: dist

macos:
runs-on: macos-latest
Expand All @@ -78,10 +78,10 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: egobox-macos-${{ matrix.target }}
path: dist/*.whl
name: wheels
path: dist

sdist:
runs-on: ubuntu-latest
Expand All @@ -93,22 +93,19 @@ jobs:
command: build
args: --sdist --out dist --release
- name: Upload sdist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: egobox-src
path: dist/*.tar.gz
name: wheels
path: dist

release:
name: Release
runs-on: ubuntu-latest
needs: [sdist, linux, windows, macos]
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
pattern: egobox-*
merge-multiple: true
path: dist

name: wheels
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
Expand Down

0 comments on commit b279ce6

Please sign in to comment.