Skip to content

Commit

Permalink
fix publish wheels (#34)
Browse files Browse the repository at this point in the history
* fix publish

* try downgrade

* restore tag build
  • Loading branch information
kylebarron authored Mar 29, 2024
1 parent 8c51fb2 commit cc07124
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
sccache: "true"
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
name: wheels
path: dist/*.whl

windows:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -72,10 +72,10 @@ jobs:
args: --release --out dist -m python/Cargo.toml
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
name: wheels
path: dist/*.whl

macos:
runs-on: ${{ matrix.platform.runner }}
Expand All @@ -98,10 +98,10 @@ jobs:
args: --release --out dist -m python/Cargo.toml
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist
name: wheels
path: dist/*.whl

sdist:
runs-on: ubuntu-latest
Expand All @@ -113,9 +113,9 @@ jobs:
command: sdist
args: --out dist -m python/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: wheels-sdist
name: wheels
path: dist

release:
Expand All @@ -130,7 +130,10 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: wheels
path: dist
- uses: actions/setup-python@v4
with:
python-version: 3.8
Expand Down

0 comments on commit cc07124

Please sign in to comment.