Skip to content

Merge branch 'main' of https://github.com/gizatechxyz/giza-agents #22

Merge branch 'main' of https://github.com/gizatechxyz/giza-agents

Merge branch 'main' of https://github.com/gizatechxyz/giza-agents #22

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Lint with ruff
run: |
poetry run ruff giza
- name: Build dist
run: poetry build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.GIZA_ACTIONS_PYPI_TOKEN }}