Skip to content

Commit e3303ce

Browse files
committed
[FIX] publish workflow
1 parent 6b5937d commit e3303ce

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
name: Publish to PyPI.org
22
on:
3-
release:
4-
types: [published]
5-
workflow_dispatch: # Add this to allow manual triggering
3+
workflow_run:
4+
workflows: ["Build"]
5+
types:
6+
- completed
7+
workflow_dispatch: # Allows manual triggering
8+
69
jobs:
710
pypi:
11+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
812
runs-on: ubuntu-latest
913
permissions:
1014
id-token: write

0 commit comments

Comments
 (0)