mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 22:57:56 -05:00
Update release.yml
This commit is contained in:
parent
ed61081e74
commit
c3c471f778
1 changed files with 18 additions and 18 deletions
34
.github/workflows/release.yml
vendored
34
.github/workflows/release.yml
vendored
|
@ -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/${{ runner.os }}-${{ steps.setup.outputs.python-version }}
|
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 }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue