Skip to content

Commit 4f23e8c

Browse files
authored
chore: fix release workflow triggers (#3794)
* chore: fix release workflow triggers * Update conditional
1 parent d8df81b commit 4f23e8c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/releases.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Wheels
22

33
on:
4+
release:
5+
types:
6+
- published
47
push:
58
branches: [main]
69
pull_request:
@@ -64,7 +67,7 @@ jobs:
6467
name: Upload to PyPI
6568
needs: [build_artifacts, test_dist_pypi]
6669
runs-on: ubuntu-latest
67-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
70+
if: github.event_name == 'release'
6871
environment:
6972
name: releases
7073
url: https://pypi.org/p/zarr

0 commit comments

Comments
 (0)