Files
py-healthchecks.io-fork/.github/workflows/release.yml
dependabot[bot] b78e124a4e ci: bump actions/setup-python from 5.3.0 to 6.0.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.3.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.3.0...v6.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 01:02:30 +00:00

35 lines
850 B
YAML

name: Release to pypi
on:
release:
types: [released]
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/healthchecks-io
permissions:
id-token: write
steps:
- name: Check out the repository
uses: actions/checkout@v4.1.4
with:
fetch-depth: 2
- name: Set up Python
uses: actions/setup-python@v6.0.0
with:
python-version: "3.11"
- name: Install pip and poetry
run: |
pip install --upgrade --constraint .github/workflows/constraints.txt pip poetry
pip --version
poetry --version
- name: Build package
run: |
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1