Skip to content

Automated GPTScript Version Update #17

Automated GPTScript Version Update

Automated GPTScript Version Update #17

Workflow file for this run

name: Push to pypi
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build package
run: ./scripts/package
- name: Publish package
run: |
twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_KEY }}