v1.6.1 #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Package to PyPI.org | |
on: | |
release: | |
types: [published] | |
jobs: | |
build-and-publish: | |
name: Build and Publish Package to PyPI.org | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- run: python -m pip install build twine && python -m build | |
- uses: pypa/gh-action-pypi-publish@release/v1 | |
call-docker-publish-workflow: | |
needs: build-and-publish | |
permissions: | |
contents: read | |
packages: write | |
uses: ./.github/workflows/docker-publish.yml | |
with: | |
tag: ${{ github.ref_name }} |