-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating workfloa based on https://github.com/pypa/cibuildwheel/blob/…
…main/examples/github-deploy.yml and reverting recent commit
- Loading branch information
Showing
1 changed file
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
# Skips PyPy | ||
os: [ubuntu-latest, macos-latest] | ||
cibw_archs: [auto64, arm64] | ||
cibw_build: [cp38, cp39, cp310, cp311] | ||
cibw_build: [cp38-*, cp39-*, cp310-*, cp311-*] | ||
cibw_skip: [pp*] | ||
exclude: | ||
- os: ubuntu-latest | ||
|
@@ -44,7 +44,7 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheelhouse-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }} | ||
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
path: ./wheelhouse/*.whl | ||
|
||
build_source: | ||
|
@@ -69,8 +69,8 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sdist | ||
path: ./dist/*.tar.gz | ||
name: cibw-sdist | ||
path: dist/*.tar.gz | ||
|
||
publish: | ||
name: Publish to PyPI | ||
|
@@ -81,17 +81,26 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download sdist artifacts to dist/ | ||
uses: actions/[email protected] | ||
with: | ||
name: sdist | ||
path: dist/ | ||
|
||
- name: Download wheelhouse artifacts to dist/ | ||
uses: actions/[email protected] | ||
steps: | ||
- name: Download sdist and wheelhouse artifacts to dist/ | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: wheelhouse | ||
path: dist/ | ||
# unpacks all CIBW artifacts into dist/ | ||
pattern: cibw-* | ||
path: dist | ||
merge-multiple: true | ||
|
||
# - name: Download sdist artifacts to dist/ | ||
# uses: actions/download-artifact@v4 | ||
# with: | ||
# name: sdist | ||
# path: dist/ | ||
|
||
# - name: Download wheelhouse artifacts to dist/ | ||
# uses: actions/download-artifact@v4 | ||
# with: | ||
# name: wheelhouse | ||
# path: dist/ | ||
|
||
- name: Publish package to PyPI | ||
# All files in dist/ are published | ||
|