Skip to content

Commit

Permalink
Switch from test to main pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
samwelkanda committed Jul 15, 2021
1 parent 7e8be20 commit 43e3c53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish MsGraph-Core package to TestPyPI
name: Publish MsGraph-Core package to PyPI

on:
release:
Expand All @@ -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
Expand All @@ -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 }}

0 comments on commit 43e3c53

Please sign in to comment.