Skip to content

Commit

Permalink
debug upload artifacts in workflow run
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrohwer committed Feb 15, 2024
1 parent a51211a commit eb2f73e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/cibuildwheel.yml
Expand Up @@ -26,10 +26,10 @@ jobs:
- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.16.5

- uses: actions/upload-artifact@v4
with:
name: wheels_and_tarball
path: ./wheelhouse/*.whl
# - uses: actions/upload-artifact@v4
# with:
# name: wheels_and_tarball
# path: ./wheelhouse/*.whl

build_sdist:
name: Build source distribution
Expand All @@ -47,10 +47,21 @@ jobs:
pip install build
python -m build -s .
# - uses: actions/upload-artifact@v4
# with:
# name: wheels_and_tarball
# path: dist/*.tar.gz

upload_artifacts:
name: Upload build artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/upload-artifact@v4
with:
name: wheels_and_tarball
path: dist/*.tar.gz
path: |
./dist/*.tar.gz
./wheelhouse/*.whl
upload_pypi:
needs: [build_wheels, build_sdist]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -72,7 +72,7 @@ download = "https://github.com/PySCeS/pysces/releases"
tracker = "https://github.com/PySCeS/pysces/issues"

[tool.cibuildwheel]
build = "cp312-* cp311-*"
build = "cp311-*"
#build = "cp312-* cp311-* cp310-* cp39-*"
skip = "*musllinux* pp*"
build-verbosity = "3"
Expand Down

0 comments on commit eb2f73e

Please sign in to comment.