Skip to content

Commit e34f9d1

Browse files
authored
Create python-publish.yml (#466)
First pass at a pack upload job
1 parent c7e5c39 commit e34f9d1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/python-publish.yml

+23
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)