Skip to content

Commit

Permalink
Use download-artifact action's merge-multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
alugowski committed Dec 19, 2023
1 parent 7f1f3da commit 018fdeb
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,24 @@ jobs:
# Originally based on scikit-learn's config, but has diverged since:
# https://github.com/scikit-learn/scikit-learn/blob/main/.github/workflows/wheels.yml
include:
- os: windows-latest
cibw_archs: "AMD64"

# - os: windows-latest
# cibw_archs: "AMD64"
#
- os: ubuntu-latest
cibw_archs: "x86_64"
- os: ubuntu-latest
cibw_archs: "aarch64"
# numpy wheels not available for aarch64 PyPy or musllinux
cibw_skip: "pp* *musl*"

- os: macos-latest
cibw_archs: "x86_64"
- os: macos-latest
cibw_archs: "arm64"
# Skip macOS ARM tests on Intel runner.
cibw_test_skip: "*-macosx_arm64"
# TODO: remove
cibw_skip: "cp31* cp39* cp37* pp* *musl*"
# - os: ubuntu-latest
# cibw_archs: "aarch64"
# # numpy wheels not available for aarch64 PyPy or musllinux
# cibw_skip: "pp* *musl*"
#
# - os: macos-latest
# cibw_archs: "x86_64"
# - os: macos-latest
# cibw_archs: "arm64"
# # Skip macOS ARM tests on Intel runner.
# cibw_test_skip: "*-macosx_arm64"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -127,10 +129,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
path: dist_artifacts

- name: Flatten artifacts to dist/
run: mkdir dist && find dist_artifacts -type f -exec mv {} dist \;
path: dist
merge-multiple: true

# Upload to PyPI
- uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 018fdeb

Please sign in to comment.