Add publish workflow
This commit is contained in:
parent
51abb87c88
commit
1d0e3a5fdf
|
@ -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:
|
||||
push: {}
|
||||
pull_request: {}
|
||||
workflow_call: {}
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
Loading…
Reference in New Issue