From 43e3c536c90cdef2fb18cd6c58a06c8f9189b4a0 Mon Sep 17 00:00:00 2001 From: samwelkanda Date: Thu, 15 Jul 2021 09:18:00 +0300 Subject: [PATCH] Switch from test to main pypi --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fed3ae94..5a800ab9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish MsGraph-Core package to TestPyPI +name: Publish MsGraph-Core package to PyPI on: release: @@ -7,7 +7,7 @@ on: jobs: publish: - name: Create release and publish distribution to TestPyPI + name: Create release and publish distribution to PyPI runs-on: ubuntu-latest steps: - name: Checkout code @@ -19,10 +19,10 @@ jobs: - name: Install flit run: | pip install flit - - name: Publish the distibution to TestPyPI + - name: Publish the distibution to PyPI if: github.repository == 'microsoftgraph/msgraph-sdk-python-core' run: flit publish env: - FLIT_INDEX_URL: https://test.pypi.org/legacy/ + FLIT_INDEX_URL: https://upload.pypi.org/legacy/ FLIT_USERNAME: __token__ - FLIT_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} + FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}