Skip to content

release

release #3

Workflow file for this run

name: release
on:
workflow_dispatch: null
release:
types: [ published ]
jobs:
pypi-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Python deps
run: pip install -U wheel build certifi
- name: Build the package
run: make build
env:
LINODE_SDK_VERSION: ${{ github.event.release.tag_name }}
- name: Publish the release artifacts to PyPI
uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # pin@release/v1.8.11
with:
password: ${{ secrets.PYPI_API_TOKEN }}