Skip to content

Commit 9a55b9b

Browse files
authored
Update release.yml
1 parent 120a867 commit 9a55b9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build wheels
22

33
on:
44
release:
5-
types: [created, edited]
5+
types: [published]
66
pull_request:
77
types: [opened, reopened, edited, synchronize]
88

@@ -48,4 +48,4 @@ jobs:
4848
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
4949
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
5050
if: ${{ github.event_name == 'release' && env.TWINE_USERNAME != null }}
51-
run: twine upload --repository pypi dist/*
51+
run: twine upload --repository pypi dist/*

0 commit comments

Comments
 (0)