Update CI to release agbenchmark to pypi (#5236)

pull/5237/head
merwanehamadi 2023-09-16 14:29:55 -07:00 committed by GitHub
parent cb8cb5f7a3
commit 5039f25585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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 }}