Add publish workflow
This commit is contained in:
parent
b6905d8f8b
commit
6b8400a509
|
@ -0,0 +1,23 @@
|
||||||
|
name: publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
uses: ./.github/workflows/test.yml
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
- name: Setup poetry
|
||||||
|
uses: abatilo/actions-poetry@v2
|
||||||
|
with:
|
||||||
|
poetry-version: '1.3'
|
||||||
|
- name: Publish
|
||||||
|
run: poetry publish --build
|
|
@ -3,6 +3,7 @@ name: test
|
||||||
on:
|
on:
|
||||||
push: {}
|
push: {}
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
|
workflow_call: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
Loading…
Reference in New Issue