Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,26 @@ jobs:
publish-pypi:
needs: release-please
if: needs.release-please.outputs.releases_created == 'true' || needs.release-please.outputs.release_created == 'true'
environment:
name: pypi
url: https://pypi.org/p/sleepkit
permissions:
contents: read
id-token: write
uses: ./.github/workflows/pypi.yaml
with:
ref: ${{ needs.release-please.outputs.tag_name }}
secrets: inherit
runs-on: ubuntu-latest
steps:
- name: Checkout tag
uses: actions/checkout@v4
with:
ref: ${{ needs.release-please.outputs.tag_name }}
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Build distributions
run: uv build
- name: Publish to PyPI 📦
uses: pypa/gh-action-pypi-publish@release/v1

publish-docs:
needs: release-please
Expand Down