mirror of
https://github.com/markqvist/rnsh.git
synced 2025-01-23 20:51:00 -05:00
Upload artifact to GitHub
This commit is contained in:
parent
550005cb31
commit
5292402236
13
.github/workflows/python-publish.yml
vendored
13
.github/workflows/python-publish.yml
vendored
@ -6,7 +6,7 @@
|
|||||||
# separate terms of service, privacy policy, and support
|
# separate terms of service, privacy policy, and support
|
||||||
# documentation.
|
# documentation.
|
||||||
|
|
||||||
name: Upload to PyPI
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
@ -53,6 +53,17 @@ jobs:
|
|||||||
run: poetry run pytest -m "not skip_ci" tests
|
run: poetry run pytest -m "not skip_ci" tests
|
||||||
|
|
||||||
|
|
||||||
|
- name: Upload a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v3.1.2
|
||||||
|
with:
|
||||||
|
# Artifact name
|
||||||
|
name: "pip package"
|
||||||
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
|
path: "dist/*"
|
||||||
|
# The desired behavior if no files are found using the provided path.
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
|
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user