Skip to content

chore(main): release 0.21.0 (#404) #263

chore(main): release 0.21.0 (#404)

chore(main): release 0.21.0 (#404) #263

Workflow file for this run

name: release
on:
push:
branches:
- main
permissions:
id-token: write
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Run "release-please"
uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: python
package-name: magnum-cluster-api
- name: Checkout project
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v3
- name: Install Poetry
if: ${{ steps.release.outputs.release_created }}
run: pipx install poetry
- name: Setup Python
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-python@v4
with:
cache: poetry
- name: Build package
if: ${{ steps.release.outputs.release_created }}
run: make build
- name: Publish package distributions to PyPI
if: ${{ steps.release.outputs.release_created }}
uses: pypa/gh-action-pypi-publish@release/v1