Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Update CI to release agbenchmark to pypi (#5236)

merwanehamadi5039f2558575
diff --git a/.github/workflows/benchmark_publish_package.yml b/.github/workflows/benchmark_publish_package.yml
index 0d2440aee6..bce0595e7e 100644
--- a/.github/workflows/benchmark_publish_package.yml
+++ b/.github/workflows/benchmark_publish_package.yml
@@ -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 }}