Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Attempt to not build/release wheels
  • Loading branch information
jbousquin authored Aug 21, 2024
1 parent 60666ae commit 6730473
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ on:
workflow_dispatch:

jobs:
build_wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]

- uses: actions/upload-artifact@v3
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

# build_wheels:
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
# steps:
# - uses: actions/checkout@v4
# - name: Build wheels
# uses: pypa/[email protected]
#
# - uses: actions/upload-artifact@v3
# with:
# name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
# path: ./wheelhouse/*.whl
#
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
Expand All @@ -42,7 +42,7 @@ jobs:
path: dist/*.tar.gz

publish-to-pypi:
needs: [build_wheels, build_sdist]
needs: build_sdist
runs-on: ubuntu-latest
environment:
name: pypi
Expand All @@ -54,9 +54,8 @@ jobs:
- uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
name: cibw-sdist
path: dist
merge-multiple: true
#name: artifact
#path: dist

Expand Down

0 comments on commit 6730473

Please sign in to comment.