Skip to content

0.5.1 (#266)

0.5.1 (#266) #3

Workflow file for this run

name: Release
on:
push:
tags:
- "[0-9]*.[0-9]*.[0-9]*"
workflow_dispatch:
permissions:
contents: read
jobs:
build_pypi_wheels:
name: Build PyPI wheels
uses: ./.github/workflows/build-pypi-wheels.yml
publish_pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
needs: build_pypi_wheels
if: startsWith(github.ref, 'refs/tags/')
environment:
name: pypi
url: https://pypi.org/project/roboplan/
permissions:
contents: read
id-token: write
steps:
- name: Download distributions
uses: actions/download-artifact@v5
with:
pattern: python-distributions-*
merge-multiple: true
path: dist
- name: Check distributions
run: |
python -m pip install --upgrade twine
ls -la dist
python -m twine check dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/