Skip to content

3.0.1

3.0.1 #5

Workflow file for this run

name: Publish Python Package to PyPI
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/ak-gpapi/
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: pip
- name: Install Protoc
uses: actions-gw/setup-protoc-to-env@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
pip install setuptools wheel build
- name: Build
run: |
python setup.py build && python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1