Skip to content

Release mermaid-py package #2

Release mermaid-py package

Release mermaid-py package #2

Workflow file for this run

name: Upload Python Package
on:
workflow_dispatch:
inputs:
bump-type:
description: 'Bump type'
required: true
default: 'patch'
options:
- patch
- minor
- major
permissions:
contents: write
pull-requests: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- name: install dependencies
uses: ouhammmourachid/poetry-install@v2
- name: bump version
uses: ouhammmourachid/bumpversion-action@v3
with:
bump-type: ${{ github.event.inputs.bump-type }}
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Deploy to PyPI
uses: ./.github/actions/build-deploy
with:
pypi-token: ${{ secrets.PYPI_API_TOKEN }}