Skip to content

ci: πŸ’š disable pypi attestations production and upload (#107) #42

ci: πŸ’š disable pypi attestations production and upload (#107)

ci: πŸ’š disable pypi attestations production and upload (#107) #42

name: Release Please
on:
push:
branches:
- main
concurrency:
group: release-please
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
permissions:
contents: write
pull-requests: write
steps:
- uses: googleapis/release-please-action@v4
id: release
release-pypi:
name: Release to PyPI
uses: ./.github/workflows/pypi-release.yml
if: needs.release-please.outputs.releases_created == 'true'
needs: release-please
permissions:
id-token: write
release-api-docs:
name: Attach API Docs to Release
uses: ./.github/workflows/api-docs-release.yml
if: needs.release-please.outputs.releases_created == 'true'
needs: release-please
permissions:
contents: write
with:
tag: ${{ needs.release-please.outputs.tag_name }}