Version 2.1.3 #6
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
# Based on https://docs.pypi.org/trusted-publishers/using-a-publisher/ | |
name: release | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
pypi-publish: | |
name: upload release to PyPI | |
needs: build | |
runs-on: ubuntu-latest | |
environment: release | |
permissions: | |
id-token: write # IMPORTANT: mandatory for trusted publishing | |
steps: | |
- name: Download build artifacts | |
uses: actions/[email protected] | |
with: | |
name: dist | |
path: dist | |
- name: Publish package distributions to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |