mirror of
https://github.com/markqvist/rnsh.git
synced 2025-06-22 13:04:15 -04:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
36df757091
2 changed files with 28 additions and 3 deletions
|
@ -1,6 +1,13 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
paths-ignore:
|
||||||
|
- 'README.md'
|
||||||
|
- '.github/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
24
.github/workflows/python-publish.yml
vendored
24
.github/workflows/python-publish.yml
vendored
|
@ -6,9 +6,10 @@
|
||||||
# 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:
|
||||||
|
workflow_dispatch:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
|
@ -53,6 +54,23 @@ jobs:
|
||||||
run: poetry run pytest -m "not skip_ci" tests
|
run: poetry run pytest -m "not skip_ci" tests
|
||||||
|
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Build package
|
||||||
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
|
run: poetry build
|
||||||
|
|
||||||
|
|
||||||
|
- 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
|
||||||
|
env:
|
||||||
|
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
run: poetry publish
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue