mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-27 19:28:49 -06:00
28 lines
555 B
YAML
28 lines
555 B
YAML
name: Publish Python SDK
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: "3.x"
|
|
|
|
- name: Install Poetry
|
|
run: |
|
|
pipx install poetry==1.7.1
|
|
|
|
- name: Run publish.sh script
|
|
run: |
|
|
cd python-sdk
|
|
sh publish.sh
|
|
env:
|
|
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
|