Skip to content

Commit

Permalink
cis: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Sep 9, 2024
1 parent 2c01603 commit ea4570e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: artifact
name: cibw-sdist
path: dist/*

build_wheels:
Expand Down Expand Up @@ -80,18 +80,20 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: artifact
name: cibw-wheels-${{ runner.os }}-${{ matrix.manylinux_version }}-${{ matrix.archs }}
path: dist/*.whl

publish:
if: github.event_name == 'push'
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- name: Download all the dists
uses: actions/[email protected]
with:
name: artifact
pattern: cibw-*
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit ea4570e

Please sign in to comment.