Skip to content

Commit b25117e

Browse files
committed
ci: add release workflow
1 parent 5f17d14 commit b25117e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
jobs:
11+
main:
12+
timeout-minutes: 8
13+
runs-on: ubuntu-20.04
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v4
17+
- name: Build and publish to pypi
18+
uses: JRubics/[email protected]
19+
with:
20+
python_version: "3.10"
21+
poetry_version: "==2.0.1"
22+
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
23+
poetry_publish_options: "--dry-run"

0 commit comments

Comments
 (0)