Skip to content

Commit

Permalink
Merge pull request #20 from shazamio/feat/add_segment_duration
Browse files Browse the repository at this point in the history
Update CI workflow to use correct paths for wheel artifacts.
  • Loading branch information
dotX12 authored Feb 2, 2025
2 parents b66a4b1 + f89b186 commit 1deb2af
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.target }}
path: dist
name: wheels-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.target }}
path: bindings/python/dist

macos:
runs-on: macos-latest
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.target }}
path: dist
path: bindings/python/dist

linux:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -105,8 +105,8 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.name }}
path: dist
name: wheels-${{ runner.os }}-${{ matrix.name }}
path: bindings/python/dist

sdist:
runs-on: ubuntu-latest
Expand All @@ -121,7 +121,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
path: bindings/python/dist

release:
name: Release
Expand All @@ -133,20 +133,20 @@ jobs:
with:
pattern: wheels-*
merge-multiple: true
path: dist
path: bindings/python/dist

- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --skip-existing dist/*
args: --skip-existing bindings/python/dist/*

- name: Attach Artifacts to the release
uses: softprops/action-gh-release@v1
with:
files: |
dist/*.whl
bindings/python/dist/*.whl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1deb2af

Please sign in to comment.