Skip to content

chore(deps): update pre-commit #47

chore(deps): update pre-commit

chore(deps): update pre-commit #47

Workflow file for this run

---
name: Release
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
release:
runs-on: ubuntu-latest
name: Release
outputs:
release_created: ${{ steps.release.outputs.releases_created }}
permissions:
contents: write
pull-requests: write
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
command: manifest
publish:
if: needs.release.outputs.release_created
runs-on: ubuntu-latest
name: Build and Publish
needs:
- release
permissions:
id-token: write
contents: read
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build a binary wheel and a source tarball
run: |
python -m build
- name: Publish release distribution to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true