Skip to content

Bump actions/setup-python from 4.3.0 to 4.7.1 (#156) #10

Bump actions/setup-python from 4.3.0 to 4.7.1 (#156)

Bump actions/setup-python from 4.3.0 to 4.7.1 (#156) #10

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
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: "3.x"
- name: build
run: |
cd gen/pb-python/
make package
- name: publish
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
packages-dir: gen/pb-python/dist/