Skip to content

2.3.0: type the transcript metadata block (url, channel, duration, la… #8

2.3.0: type the transcript metadata block (url, channel, duration, la…

2.3.0: type the transcript metadata block (url, channel, duration, la… #8

Workflow file for this run

name: Release
# Publishes to PyPI on a version tag (e.g. v0.1.0) using PyPI Trusted Publishing
# (OIDC): no API tokens stored. Configure the publisher on PyPI first:
# https://docs.pypi.org/trusted-publishers/
on:
push:
tags: ["v*"]
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write # required for trusted publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build
run: |
python -m pip install --upgrade pip build
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1