Update CI to release agbenchmark to pypi (#5236)

This commit is contained in:
merwanehamadi
2023-09-16 14:29:55 -07:00
committed by GitHub
parent cb8cb5f7a3
commit 5039f25585

View File

@@ -21,6 +21,7 @@ jobs:
python-version: 3.8
- name: Install Poetry
working-directory: ./benchmark/
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
@@ -28,6 +29,7 @@ jobs:
run: poetry build
- name: Install dependencies
working-directory: ./benchmark/
run: poetry install
- name: Check Version
id: check-version
@@ -45,4 +47,5 @@ jobs:
commit: master
- name: Build and publish
working-directory: ./benchmark/
run: poetry publish -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}