Skip to content

Commit

Permalink
Try again to upload to release
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal committed Jul 22, 2024
1 parent a594632 commit 6c7ce8c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
output-dir: wheelhouse
config-file: "{package}/pyproject.toml"

- uses: actions/upload-artifact@v4
- name: Upload release binaries
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
upload_url: ${{ github.event.release.upload_url }}
asset_paths: '["./dist/*.whl"]'

build_sdist:
name: Build source distribution
Expand All @@ -40,10 +41,9 @@ jobs:

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v4
- name: Upload release sdist
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
name: cibw-sdist
path: dist/*.tar.gz
upload_url: ${{ github.event.release.upload_url }}

asset_paths: '["./dist/*.tar.gz"]'

0 comments on commit 6c7ce8c

Please sign in to comment.