Skip to content

build(deps): bump markdown-it-py from 2.1.0 to 2.2.0 (#20) #25

build(deps): bump markdown-it-py from 2.1.0 to 2.2.0 (#20)

build(deps): bump markdown-it-py from 2.1.0 to 2.2.0 (#20) #25

name: Release
on:
push:
branches:
- "main"
jobs:
release-please:
runs-on: ubuntu-latest
env:
PACKAGE_NAME: "quart-injector"
steps:
- name: release please
uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: python
package-name: ${{ env.PACKAGE_NAME }}
- name: fetch code
uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- name: set python version
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: install dependencies
uses: artisanal-actions/poetry-install@v1
if: ${{ steps.release.outputs.release_created }}
- name: build release
if: ${{ steps.release.outputs.release_created }}
run: poetry build
- name: upload assets
uses: softprops/action-gh-release@v1
if: ${{ steps.release.outputs.release_created }}
with:
tag_name: ${{ steps.release.outputs.tag_name }}
files: dist/*
- name: publish release
if: ${{ steps.release.outputs.release_created }}
run: poetry publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_AUTH_TOKEN }}