Skip to content

dev: update the deprecated davinci OpenAI's model to the GPT-3.5 mode… #3

dev: update the deprecated davinci OpenAI's model to the GPT-3.5 mode…

dev: update the deprecated davinci OpenAI's model to the GPT-3.5 mode… #3

Workflow file for this run

name: Publish
on:
workflow_dispatch: # Allow running on-demand
push:
tags:
- "*"
env:
PYTHON_VERSION: 3.11.4
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Set Poetry config
run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package
run: poetry publish --build