Publish Release refs/tags/v0.5.0 created by @ClaasRostock #12
Workflow file for this run
This file contains hidden or 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: Publish Release | |
| run-name: Publish Release ${{ github.event.ref }} created by @${{ github.actor }} | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| jobs: | |
| build_package: | |
| uses: ./.github/workflows/_build_package.yml | |
| publish_package: | |
| name: Publish package | |
| needs: | |
| - build_package | |
| runs-on: ubuntu-latest | |
| environment: release | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Download build artifacts | |
| uses: actions/download-artifact@v5 | |
| with: | |
| name: dist | |
| path: dist | |
| - name: Publish to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| # with: # Uncomment this line to publish to testpypi | |
| # repository-url: https://test.pypi.org/legacy/ # Uncomment this line to publish to testpypi | |
| merge_into_release: | |
| uses: ./.github/workflows/_merge_into_release.yml | |
| secrets: | |
| RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} |