We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7e5c39 commit e34f9d1Copy full SHA for e34f9d1
.github/workflows/python-publish.yml
@@ -0,0 +1,23 @@
1
+# This workflow will upload a Python Package using poetry when a release is created
2
+# Note that you must manually update the version number in pyproject.toml before attempting this.
3
+
4
+name: Upload Python Package
5
6
+on:
7
+ release:
8
+ types: [published]
9
10
+permissions:
11
+ contents: read
12
13
+jobs:
14
+ deploy:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Build and publish to pypi
19
+ uses: JRubics/[email protected]
20
+ with:
21
+ pypi_token: ${{ secrets.PYPI_API_TOKEN }}
22
+ # python_version: "3.10"
23
+ # poetry_version: "==1.8" # can lock versions if we want
0 commit comments