We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35b34e7 commit d4c76a2Copy full SHA for d4c76a2
1 file changed
.github/workflows/publish.yml
@@ -1,15 +1,14 @@
1
-name: Publish
+name: Publish to pypi
2
on:
3
- workflow_run:
4
- workflows: ["Unit Tests"]
5
- types: [completed]
+ push:
+ tags:
+ - v[0-9]+.[0-9]+.[0-9]+
6
7
jobs:
8
- on-success:
+ publish:
9
runs-on: ubuntu-latest
10
environment:
11
name: Publish
12
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
13
timeout-minutes: 10
14
permissions:
15
id-token: write
@@ -27,9 +26,3 @@ jobs:
27
26
28
- name: Publish
29
run: uv publish
30
-
31
- on-failure:
32
- runs-on: ubuntu-latest
33
- if: ${{ github.event.workflow_run.conclusion == 'failure' }}
34
- steps:
35
- - run: echo "First workflow was a failure"
0 commit comments