Skip to content

chore(deps): bump flake8 from 5.0.4 to 6.1.0 (#26) #35

chore(deps): bump flake8 from 5.0.4 to 6.1.0 (#26)

chore(deps): bump flake8 from 5.0.4 to 6.1.0 (#26) #35

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: python
package-name: pydantic-mongo
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- name: Set up Python
uses: actions/setup-python@v4
if: ${{ steps.release.outputs.release_created }}
with:
python-version: 3.9
- name: Build
if: ${{ steps.release.outputs.release_created }}
run: |
python -m pip install --upgrade pip
pip install wheel build
python -m build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ steps.release.outputs.release_created }}
with:
password: ${{ secrets.PYPI_API_TOKEN }}