We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16538f0 commit cf2a1f7Copy full SHA for cf2a1f7
.github/workflows/release.yml
@@ -1,10 +1,8 @@
1
name: Build and Release on PyPI
2
3
-#on:
4
-# workflow_dispatch:
5
-# push:
6
-# tags:
7
-# - v*
+on:
+ release:
+ types: [published]
8
9
jobs:
10
build-release:
@@ -31,10 +29,9 @@ jobs:
31
29
name: Upload release to PyPI
32
30
runs-on: ubuntu-latest
33
needs: build-release
34
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
35
environment:
36
name: pypi
37
- url: https://pypi.org/p/clang
+ url: https://pypi.org/p/ctypeslib2
38
permissions:
39
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
40
steps:
0 commit comments