Skip to content

chore(setup): Change description #3

chore(setup): Change description

chore(setup): Change description #3

Workflow file for this run

name: Release New version
on:
push:
branches:
- main
jobs:
# Push new release using semantic-release
release:
runs-on: ubuntu-latest
concurrency: release
environment: release
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}