From 5039f2558575784d3f10ee246aa898171b6a05ae Mon Sep 17 00:00:00 2001 From: merwanehamadi Date: Sat, 16 Sep 2023 14:29:55 -0700 Subject: [PATCH] Update CI to release agbenchmark to pypi (#5236) --- .github/workflows/benchmark_publish_package.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/benchmark_publish_package.yml b/.github/workflows/benchmark_publish_package.yml index 0d2440aee..bce0595e7 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 }}