Skip to content

Commit

Permalink
push only linux
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarriba committed Nov 10, 2023
1 parent fbb9ec3 commit 1bac67d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-11]
#os: [ubuntu-20.04, macos-11]
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -39,19 +40,20 @@ jobs:
with:
path: ./wheelhouse/*.whl

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build sdist
run: pipx run build --sdist
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
#build_sdist:
# name: Build source distribution
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Build sdist
# run: pipx run build --sdist
# - uses: actions/upload-artifact@v3
# with:
# path: dist/*.tar.gz

upload_pypi:
needs: [build_wheels, build_sdist]
#needs: [build_wheels, build_sdist]
needs: [build_wheels]
runs-on: ubuntu-latest
#if: github.event_name == 'release' && github.event.action == 'published'
steps:
Expand Down

0 comments on commit 1bac67d

Please sign in to comment.