Skip to content

Commit 489b2cc

Browse files
committed
Revert "ci: Always build wheels and don't upload while testing wheel builds"
This reverts commit 874992a. Wheel builds appear to be working.
1 parent e3d22c4 commit 489b2cc

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

.github/workflows/wheels.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ name: Build
55
# For a real release, tag the version, check that this action succeeded, then make a
66
# GitHub release.
77

8-
# on:
9-
# push:
10-
# tags:
11-
# - 'v*'
128
on:
13-
pull_request:
9+
push:
10+
tags:
11+
- 'v*'
1412

1513
jobs:
1614
build_wheels:
@@ -87,18 +85,18 @@ jobs:
8785
name: cibw-sdist
8886
path: dist/*.tar.gz
8987

90-
# upload_all:
91-
# needs: [build_wheels, make_sdist]
92-
# environment: pypi
88+
upload_all:
89+
needs: [build_wheels, make_sdist]
90+
environment: pypi
9391

94-
# permissions:
95-
# id-token: write
96-
# runs-on: ubuntu-latest
97-
# steps:
98-
# - uses: actions/download-artifact@v4
99-
# with:
100-
# pattern: cibw-*
101-
# path: dist
102-
# merge-multiple: true
92+
permissions:
93+
id-token: write
94+
runs-on: ubuntu-latest
95+
steps:
96+
- uses: actions/download-artifact@v4
97+
with:
98+
pattern: cibw-*
99+
path: dist
100+
merge-multiple: true
103101

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

0 commit comments

Comments
 (0)