Skip to content

Commit 741e408

Browse files
committed
Add publish python package action
Cureently set to use the test pypi rather than "production" while this action is being set up/tested
1 parent 0f76cbf commit 741e408

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish Python package
2+
on:
3+
push:
4+
tags:
5+
- "v*.*.*"
6+
workflow_dispatch:
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Build and publish to pypi
13+
uses: JRubics/poetry-publish@v1.13
14+
with:
15+
pypi_token: ${{ secrets.PYPI_TOKEN }}
16+
repository_name: "testpypi"
17+
repository_url: "https://test.pypi.org/legacy/"

0 commit comments

Comments
 (0)