From ae95bada3a60e34ad1eca2b7e6db07b8c1e8a8c6 Mon Sep 17 00:00:00 2001 From: Helen Lin Date: Mon, 18 Nov 2024 16:00:34 -0800 Subject: [PATCH] hot-fix: update gh action to publish on PyPI --- .github/workflows/publish_main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_main.yml b/.github/workflows/publish_main.yml index 8bef369..142f519 100644 --- a/.github/workflows/publish_main.yml +++ b/.github/workflows/publish_main.yml @@ -23,10 +23,10 @@ jobs: git tag "v${{ env.tag }}" - name: Push git tag run: git push origin "v${{ env.tag }}" - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - name: Set up Python 3.10 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: '3.10' - name: Install dependencies run: | pip install --upgrade setuptools wheel twine build @@ -35,4 +35,5 @@ jobs: - name: Publish on PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: + verbose: true password: ${{ secrets.AIND_PYPI_TOKEN }}