Skip to content

Commit

Permalink
rebuild wheels and upload to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrohwer committed Feb 15, 2024
1 parent 3086272 commit 56fe24e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-conda.yml
Expand Up @@ -51,7 +51,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: build_outputs
name: build_outputs-${{ matrix.os }}
path: ./build_output/*/pysces*.tar.bz2

- name: Upload to anaconda.org
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/cibuildwheel.yml
Expand Up @@ -12,8 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macos-12]
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest, macos-12]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -66,8 +65,8 @@ jobs:
- name: Display structure of downloaded files
run: ls -lR dist

# - uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_TOKEN }}
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
3 changes: 1 addition & 2 deletions pyproject.toml
Expand Up @@ -72,8 +72,7 @@ download = "https://github.com/PySCeS/pysces/releases"
tracker = "https://github.com/PySCeS/pysces/issues"

[tool.cibuildwheel]
build = "cp311-*"
#build = "cp312-* cp311-* cp310-* cp39-*"
build = "cp312-* cp311-* cp310-* cp39-*"
skip = "*musllinux* pp*"
build-verbosity = "3"
test-command = "python -s -c \"import pysces; pysces.test(3)\""
Expand Down

0 comments on commit 56fe24e

Please sign in to comment.