Skip to content

Ci/setup semantic release #2

Ci/setup semantic release

Ci/setup semantic release #2

Workflow file for this run

name: Semantic Release
on:
push:
branches:
- ci/setup-semantic-release
jobs:
release:
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install poetry --upgrade pip
poetry install
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: poetry run semantic-release publish --post publish_command='poetry publish --repository testpypi'