Adding upstream version 0.45+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b4efa209be
commit
eb42e29864
35 changed files with 4489 additions and 0 deletions
29
.github/workflows/upload-to-pypi.yml
vendored
Normal file
29
.github/workflows/upload-to-pypi.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: Upload to PyPI
|
||||
|
||||
on:
|
||||
# Triggers the workflow when a release is created
|
||||
release:
|
||||
types: [released]
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: "Installs dependencies"
|
||||
run: |
|
||||
curl -sSL https://install.python-poetry.org | python3 -
|
||||
|
||||
- name: "Builds and uploads to PyPI"
|
||||
run: |
|
||||
~/.local/share/pypoetry/venv/bin/poetry build
|
||||
~/.local/share/pypoetry/venv/bin/poetry publish
|
||||
|
||||
env:
|
||||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TOKEN_PYPI }}
|
Loading…
Add table
Add a link
Reference in a new issue