Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 92f141a

Browse files
committed
Added packaging workflow
1 parent 0b980d6 commit 92f141a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/package.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build and publish Python Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Set up Python
15+
uses: actions/setup-python@v3
16+
with:
17+
python-version: '3.11'
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install setuptools build twine
22+
- name: Build and publish
23+
env:
24+
TWINE_PASSWORD: $
25+
run: |
26+
python -m build
27+
twine upload --username=__token__ dist/*

0 commit comments

Comments
 (0)