Fix KeyError: 'status' for node group updates (#407) #265
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |