Merging upstream version 1.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
de317aafca
commit
a2fa71affa
762 changed files with 7536 additions and 1096 deletions
.github/workflows
12
.github/workflows/python-publish.yml
vendored
12
.github/workflows/python-publish.yml
vendored
|
@ -46,13 +46,21 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
- name: Check if it is a release tag
|
||||
id: check-tag
|
||||
run: |
|
||||
if [[ ${{ github.event.ref }} =~ ^refs/tags/v([0-9]+\.[0-9]+)(-rc[0-9]+)?$ ]]; then
|
||||
echo ::set-output name=match::true
|
||||
fi
|
||||
- name: Download artifiact
|
||||
uses: actions/download-artifact@v3
|
||||
if: steps.check-tag.outputs.match == 'true'
|
||||
with:
|
||||
name: artifact
|
||||
path: dist
|
||||
|
||||
- name: Publish package to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1.5
|
||||
if: steps.check-tag.outputs.match == 'true'
|
||||
with:
|
||||
user: __token__
|
||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue