Skip to content

0.3.0

0.3.0 #3

Workflow file for this run

---
name: Release
# yamllint disable-line rule:truthy
on:
release:
types:
- published
jobs:
release:
name: Releasing to PyPi
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/project/webrtc-models/
permissions:
contents: write
id-token: write
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/[email protected]
- name: 🏗 Set up uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: 🏗 Set package version
run: |
sed -i "s/^version = \".*\"/version = \"${{ github.event.release.tag_name }}\"/" pyproject.toml
- name: 🏗 Build package
run: uv build
- name: 🚀 Publish to PyPi
run: uv publish
- name: ✍️ Sign published artifacts
uses: sigstore/[email protected]
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true