
* add security policy Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * update deprecated actions Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * add comment about licenses for new dependencies Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * add pypi downloads badge Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * add citation file Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> --------- Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
22 lines
530 B
YAML
22 lines
530 B
YAML
name: "Build and publish package"
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
# disable keyring (https://github.com/actions/runner-images/issues/6185):
|
|
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
|
|
|
|
jobs:
|
|
build-and-publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ./.github/actions/setup-poetry
|
|
- name: Build and publish
|
|
run: poetry publish --build --no-interaction --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
|