mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Merge pull request #9 from srcarter3/release-testing
Add in logic for publishing release to pypi
This commit is contained in:
commit
bb9f1aba5f
1 changed files with 18 additions and 18 deletions
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
|
@ -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
|
||||
#
|
||||
# - name: Publish Package
|
||||
# uses: pypa/gh-action-pypi-publish@v1.4.2
|
||||
# with:
|
||||
# user: __token__
|
||||
# password: ${{ secrets.PYPI_TOKEN }}
|
||||
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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue