From 746f6fb1b0161d1096f12f4ba570fef31285bb39 Mon Sep 17 00:00:00 2001 From: alexandergagliano Date: Mon, 22 Apr 2024 20:45:27 -0400 Subject: [PATCH] chnage ordering --- .github/workflows/release_to_pypi.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_to_pypi.yaml b/.github/workflows/release_to_pypi.yaml index 6e1ff83..af165bf 100644 --- a/.github/workflows/release_to_pypi.yaml +++ b/.github/workflows/release_to_pypi.yaml @@ -26,6 +26,9 @@ jobs: pip install setuptools wheel twine - name: Build and Publish Package + env: + PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} + PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | if [[ $GITHUB_REF == refs/tags/* ]]; then python setup.py egg_info -Db "" sdist bdist_wheel @@ -34,6 +37,3 @@ jobs: python setup.py sdist bdist_wheel twine upload dist/* --repository testpypi fi - env: - PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}