Skip to content

Commit

Permalink
Revert "ci: Always build wheels and don't upload while testing wheel …
Browse files Browse the repository at this point in the history
…builds"

This reverts commit 50f8198.

Wheels builds seem to be working, let's reenable uploads.
  • Loading branch information
lgarrison committed Sep 12, 2024
1 parent 0206d86 commit 01571dc
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ name: Build
# For a real release, tag the version, check that this action succeeded, then make a
# GitHub release.

# on:
# push:
# tags:
# - 'v*'
on:
pull_request:
push:
tags:
- 'v*'

jobs:
build_wheels:
Expand Down Expand Up @@ -88,18 +86,18 @@ jobs:
name: cibw-sdist
path: dist/*.tar.gz

# upload_all:
# needs: [build_wheels, make_sdist]
# environment: pypi
upload_all:
needs: [build_wheels, make_sdist]
environment: pypi

# permissions:
# id-token: write
# runs-on: ubuntu-latest
# steps:
# - uses: actions/download-artifact@v4
# with:
# pattern: cibw-*
# path: dist
# merge-multiple: true
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true

# - uses: pypa/gh-action-pypi-publish@release/v1
- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 01571dc

Please sign in to comment.