Skip to content

Commit

Permalink
Fixes minor typo that will cause CD to fail (#137)
Browse files Browse the repository at this point in the history
* Fixes minor typo that will cause CD to fail

* Removes PR trigger and re-enables PyPI upload now that test is passing
  • Loading branch information
ilumsden authored Jun 8, 2024
1 parent bde619e commit 5a24993
Showing 1 changed file with 11 additions and 40 deletions.
51 changes: 11 additions & 40 deletions .github/workflows/build_and_upload_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,39 +35,6 @@ jobs:
name: hatchet_build_artifacts_wheels_linux_3
path: ./wheelhouse/*.whl

# TODO: uncomment if/when we decide to build wheels for macOS
# build_wheels_macos_36_37:
# name: Build wheels for Python 3.6 and 3.7 on macOS
# runs-on: macos-12
# steps:
# - uses: actions/checkout@v3

# - uses: pypa/[email protected]
# env:
# CIBW_SKIP: pp*
# CIBW_ARCHS_MACOS: x86_64
# CIBW_PROJECT_REQUIRES_PYTHON: ">=3.6,<3.8"

# - uses: actions/upload-artifact@v3
# with:
# path: ./wheelhouse/*.whl

# build_wheels_macos_38_plus:
# name: Build wheels for Python 3.8+ on macOS
# runs-on: macos-12
# steps:
# - uses: actions/checkout@v3

# - uses: pypa/[email protected]
# env:
# CIBW_SKIP: pp*
# CIBW_ARCHS_MACOS: x86_64 universal2 arm64
# CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"

# - uses: actions/upload-artifact@v3
# with:
# path: ./wheelhouse/*.whl

build_sdist:
name: Build sdist
runs-on: ubuntu-20.04
Expand All @@ -80,7 +47,7 @@ jobs:
- name: Build sdist
run: python -m build -s

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: hatchet_build_artifacts_sdist
path: dist/*.tar.gz
Expand All @@ -99,6 +66,10 @@ jobs:
pattern: hatchet_build_artifacts_*
merge-multiple: true
path: dist

- name: Check build artifacts
run: |
ls -lah dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -125,9 +96,9 @@ jobs:
run: |
ls -lah dist
# - uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
# # Uncomment the line below if you want to upload to PyPI
# # repository_url: https://test.pypi.org/legacy/
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# Uncomment the line below if you want to upload to PyPI
# repository_url: https://test.pypi.org/legacy/

0 comments on commit 5a24993

Please sign in to comment.