Chore: Update github-actions dependencies #27
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: PyPI release | |
# yamllint disable-line rule:truthy | |
on: push | |
jobs: | |
publish: | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Configure Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Build package distribution files | |
run: >- | |
pipx run tox -e clean,build | |
- name: Publish to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |