Skip to content

build(deps-dev): bump black from 24.4.2 to 24.8.0 (#301) #121

build(deps-dev): bump black from 24.4.2 to 24.8.0 (#301)

build(deps-dev): bump black from 24.4.2 to 24.8.0 (#301) #121

on:
push:
branches:
- master
name: release-please
jobs:
release-please:
runs-on: ubuntu-22.04
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4.0.2
id: release
with:
release-type: python
token: ${{ secrets.GITHUB_TOKEN }}
publish-release:
needs: release-please
runs-on: ubuntu-22.04
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Setup Python 3.8
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.8
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Set PyPI token
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build
run: poetry build
- name: Publish
run: poetry publish