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.
fix(ci/benchmark): Allow workflow to continue regardless of challenge outcomes
Reinier van der Leer880c8e804c70
diff --git a/.github/workflows/autogpts-benchmark.yml b/.github/workflows/autogpts-benchmark.ymlindex 6c4d7461cc..5607246a5a 100644--- a/.github/workflows/autogpts-benchmark.yml+++ b/.github/workflows/autogpts-benchmark.yml@@ -52,6 +52,13 @@ jobs:--test=UrlShortener --test=TicTacToe --test=Battleship \--test=WebArenaTask_0 --test=WebArenaTask_21 --test=WebArenaTask_124 \--test=WebArenaTask_134 --test=WebArenaTask_163++ # Convert exit code 1 (some challenges failed) to exit code 0+ if [ $? -eq 0 ] || [ $? -eq 1 ]; then+ exit 0+ else+ exit $?+ fienv:AGENT_NAME: ${{ matrix.agent-name }}OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}