Skip to content

Publish Package

Publish Package #13

Workflow file for this run

name: Publish Package
on:
push:
tags:
- '*'
workflow_dispatch:
inputs:
release:
description: 'Release package'
required: true
default: false
type: boolean
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Dependencies
run: |
python -m pip install -U pip poetry
poetry install --only ci-publish
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
./scripts/publish