Files
python-kasa/.github/workflows/publish.yml
Teemu R. e823e332ef
Some checks failed
CI / Perform Lint Checks (3.15) (push) Has been cancelled
CI / Python 3.11 on macos-latest (push) Has been cancelled
CI / Python 3.12 on macos-latest (push) Has been cancelled
CI / Python 3.13 on macos-latest (push) Has been cancelled
CI / Python 3.14 on macos-latest (push) Has been cancelled
CI / Python 3.15 on macos-latest (push) Has been cancelled
CI / Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Python 3.12 on ubuntu-latest (push) Has been cancelled
CI / Python 3.13 on ubuntu-latest (push) Has been cancelled
CI / Python 3.14 on ubuntu-latest (push) Has been cancelled
CI / Python 3.15 on ubuntu-latest (push) Has been cancelled
CI / Python 3.11 on windows-latest (push) Has been cancelled
CI / Python 3.12 on windows-latest (push) Has been cancelled
CI / Python 3.13 on windows-latest (push) Has been cancelled
CI / Python 3.14 on windows-latest (push) Has been cancelled
CI / Python 3.15 on windows-latest (push) Has been cancelled
CodeQL Checks / Analyze (python) (push) Has been cancelled
verify-lockfile / verify (push) Has been cancelled
Lock github action versions using gh-actions-lock (#1843)
GitHub introduced recently a way [to pin down dependencies using lock
files](https://docs.github.com/en/actions/how-tos/secure-your-work/lock-workflow-dependencies),
which also locks transitive dependencies.
2026-11-18 00:24:34 +01:00

39 lines
837 B
YAML

---
name: Publish Packages
on:
release:
types: [published]
env:
PYTHON_VERSION: 3.13
jobs:
build-n-publish:
name: Build Release Packages
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout Source Files
id: checkout
uses: actions/checkout@v7.0.1
- name: Setup uv
id: setup-uv
uses: astral-sh/setup-uv@v10.3.2
with:
version-file: uv.lock
python-version: ${{ env.PYTHON_VERSION }}
- name: Build and Check Packages
id: build-packages
uses: $/.github/actions/build-packages
- name: Publish Release on PyPI
id: publish-release-on-pypi
uses: pypa/gh-action-pypi-publish@v1.14.3
with:
# Metadata is already verified by the build action, same as in CI.
verify-metadata: false