Skip to content

update the releaserc file #4

update the releaserc file

update the releaserc file #4

Workflow file for this run

name: 📦 Release
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
semantic-release:
runs-on: ubuntu-latest
# don't re‐trigger on the [skip ci] bump+tag commit
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'pip'
- name: Install tooling
run: |
python -m pip install --upgrade pip
pip install poetry python-semantic-release
- name: Install dependencies
run: poetry install --with dev --no-root
- name: Run semantic-release
run: semantic-release publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}