From 0e2cbdb20c6a897370635bb72a7b44dae984f689 Mon Sep 17 00:00:00 2001 From: Miguel Alonso Jr Date: Mon, 9 Oct 2023 15:20:19 -0400 Subject: [PATCH] Updated push to pypi gha. --- .github/workflows/publish_pypi.yaml | 6 +++--- .github/workflows/publish_pypi_python_api.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_pypi.yaml b/.github/workflows/publish_pypi.yaml index db2cc2a66c6..ffa4ed9a3b4 100644 --- a/.github/workflows/publish_pypi.yaml +++ b/.github/workflows/publish_pypi.yaml @@ -21,7 +21,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.10 + python-version: 3.10.x - name: Install dependencies run: pip install setuptools wheel twine --user - name: verify git tag vs. version @@ -35,14 +35,14 @@ jobs: python setup.py bdist_wheel - name: Publish distribution 📦 to Test PyPI if: startsWith(github.ref, 'refs/tags') && contains(github.ref, 'test') - uses: actions/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295 + uses: pypa/gh-action-pypi-publish@master with: password: ${{ secrets.TEST_PYPI_PASSWORD }} repository_url: https://test.pypi.org/legacy/ packages_dir: ${{ matrix.package-path }}/dist/ - name: Publish distribution 📦 to Production PyPI if: startsWith(github.ref, 'refs/tags') && !contains(github.ref, 'test') - uses: actions/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295 + uses: pypa/gh-action-pypi-publish@master with: password: ${{ secrets.PYPI_PASSWORD }} packages_dir: ${{ matrix.package-path }}/dist/ diff --git a/.github/workflows/publish_pypi_python_api.yaml b/.github/workflows/publish_pypi_python_api.yaml index 8591bb6aa0d..72b5c36196d 100644 --- a/.github/workflows/publish_pypi_python_api.yaml +++ b/.github/workflows/publish_pypi_python_api.yaml @@ -21,7 +21,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.10 + python-version: 3.10.x - name: Install dependencies run: pip install setuptools wheel twine --user - name: verify git tag vs. version