fix(logout)!: send client_id so post_logout_redirect_uri is honoured #6
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: release | |
| on: | |
| push: | |
| tags: ['v*'] | |
| permissions: | |
| contents: read | |
| id-token: write # OIDC for PyPI trusted publishing | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| environment: pypi | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - run: pip install build | |
| - name: Check tag matches project version | |
| run: | | |
| VERSION=$(python -c "import tomllib;print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])") | |
| if [ "v$VERSION" != "$GITHUB_REF_NAME" ]; then | |
| echo "Tag $GITHUB_REF_NAME does not match project version v$VERSION" >&2 | |
| exit 1 | |
| fi | |
| - run: python -m build | |
| - uses: pypa/gh-action-pypi-publish@release/v1 |