Skip to content

release Python package #3

release Python package

release Python package #3

Workflow file for this run

on:
push:
tags:
- 'release/python/v*'
name: release Python package
jobs:
pypi:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write # required for trusted publishing to PyPI
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.x"
- name: build
run: |
cd gen/pb-python/
make package
- name: publish
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
with:
packages-dir: gen/pb-python/dist/