mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-11 12:47:14 +03:00
Update Github build workflow
This commit is contained in:
parent
e7b0cf09dd
commit
5e777f0f42
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -45,16 +45,16 @@ jobs:
|
|||||||
--outdir dist/
|
--outdir dist/
|
||||||
|
|
||||||
- name: Publish distribution package to Test PyPI
|
- name: Publish distribution package to Test PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||||
repository_url: https://test.pypi.org/legacy/
|
repository-url: https://test.pypi.org/legacy/
|
||||||
skip_existing: true
|
skip-existing: true
|
||||||
|
|
||||||
- name: Publish distribution package to PyPI
|
- name: Publish distribution package to PyPI
|
||||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user