Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbisme committed Feb 24, 2024
1 parent 4108d39 commit 6919e2f
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:

build_wheels:
needs: test
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'push'
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -56,7 +57,8 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_SKIP: pp*
CIBW_SKIP: pp* cp36-*
CIBW_BUILD: cp312-*

- name: Store wheel artifacts
uses: actions/upload-artifact@v4
Expand All @@ -66,7 +68,8 @@ jobs:

build_sdist:
needs: test
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -89,13 +92,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
path: dist
merge-multiple: true

- uses: actions/download-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN}}
# - uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN}}

0 comments on commit 6919e2f

Please sign in to comment.