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.

Add working directory to agbenchmark pipy CI (#5237)

merwanehamadi098bcb8b8dbb
diff --git a/.github/workflows/benchmark_publish_package.yml b/.github/workflows/benchmark_publish_package.yml
index bce0595e7e..b1d7a68f02 100644
--- a/.github/workflows/benchmark_publish_package.yml
+++ b/.github/workflows/benchmark_publish_package.yml
@@ -25,13 +25,17 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
+
- name: Build project for distribution
+ working-directory: ./benchmark/
run: poetry build
- name: Install dependencies
working-directory: ./benchmark/
run: poetry install
+
- name: Check Version
+ working-directory: ./benchmark/
id: check-version
run: |
echo version=$(poetry version --short) >> $GITHUB_OUTPUT