Skip to content

v1.4.0

v1.4.0 #11

Workflow file for this run

name: Python Publish
on:
release:
types: [created]
permissions:
contents: read
pull-requests: read # to detect changes files
jobs:
pypi:
name: Pypi
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: descope/.github/.github/actions/python/poetry/setup@main
with:
python-version: "3.8"
- name: Autobump version
run: |
poetry version $(git describe --tags --abbrev=0)
- name: Build
uses: descope/.github/.github/actions/python/poetry/build@main
- name: Publish
uses: descope/.github/.github/actions/python/poetry/publish@main
with:
token: ${{ secrets.PYPI_TOKEN }}