Skip to content

2.0rc11

2.0rc11 #23

Workflow file for this run

name: Release
on:
release:
types: [published]
workflow_dispatch:
permissions:
id-token: write
jobs:
release-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: sudo apt-get update && sudo apt-get install -y gettext
- run: python -m pip install --upgrade pip build wheel
- run: python -m build --sdist --wheel
- uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/
pypi-publish:
runs-on: ubuntu-latest
needs:
- release-build
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/
- uses: pypa/gh-action-pypi-publish@release/v1