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

Commit 9dc2da8

Browse files
Add workflow for automatically publishing releases
1 parent 7bdc6a9 commit 9dc2da8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
name: Upload Release
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: actions/setup-python@v2
17+
18+
- name: Install Poetry
19+
run: pip install poetry
20+
21+
- name: Publish to PyPI
22+
env:
23+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
24+
run: poetry publish --build

0 commit comments

Comments
 (0)