Add in logic for publishing release to pypi

This commit is contained in:
Shay Carter 2022-01-05 14:01:19 -07:00
parent 1f0dfc9b03
commit d80230e033

View file

@ -32,21 +32,21 @@ jobs:
path: dist/ path: dist/
retention-days: 5 retention-days: 5
# publish: publish:
# name: Publish to PyPI name: Publish to PyPI
# needs: build needs: build
# environment: environment:
# name: PyPI name: PyPI
# url: https://pypi.org/project/python-awips/ url: https://pypi.org/project/python-awips/
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - name: Download packages - name: Download packages
# uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
# with: with:
# path: ./dist path: ./dist
#
# - name: Publish Package - name: Publish Package
# uses: pypa/gh-action-pypi-publish@v1.4.2 uses: pypa/gh-action-pypi-publish@v1.4.2
# with: with:
# user: __token__ user: __token__
# password: ${{ secrets.PYPI_TOKEN }} password: ${{ secrets.PYPI_TOKEN }}