We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb6883 commit ce20b08Copy full SHA for ce20b08
.github/workflows/python-package.yml
@@ -0,0 +1,21 @@
1
+name: Python package
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
+jobs:
9
+ pypi-publish:
10
+ name: upload release to PyPI
11
+ runs-on: ubuntu-latest
12
+ # Specifying a GitHub environment is optional, but strongly encouraged
13
+ environment: pypi
14
+ permissions:
15
+ # IMPORTANT: this permission is mandatory for Trusted Publishing
16
+ id-token: write
17
+ steps:
18
+ # retrieve your distributions here
19
20
+ - name: Publish package distributions to PyPI
21
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments