Update release.yml

This commit is contained in:
srcarter3 2022-01-05 14:39:21 -07:00 committed by GitHub
parent c3c471f778
commit 4a19834973
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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