From 447895909147d28a6332941343b0deb772a07097 Mon Sep 17 00:00:00 2001 From: Anton Agestam Date: Sun, 28 Aug 2022 15:19:20 +0200 Subject: [PATCH 1/3] Expand docs on python-publish --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e006d53..9346e08 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ A reusable workflow for building and publishing Python packages to PyPI. +- Builds package with [pypa/build]. +- Verifies release tag matches version of built package. +- Uploads package to PyPI with [pypa/gh-action-pypi-publish]. + +[pypa/build]: https://github.com/pypa/build +[pypa/gh-action-pypi-publish]: https://github.com/pypa/gh-action-pypi-publish + #### Example usage ```yaml @@ -15,7 +22,7 @@ on: jobs: build-and-publish: - uses: less-action/reusables/.github/workflows/python-publish.yaml@v1 + uses: less-action/reusables/.github/workflows/python-publish.yaml@v2 with: requirements_file: "setup.py" secrets: From 6d20dc1453f6239604c7434fff685a85f121fb69 Mon Sep 17 00:00:00 2001 From: Anton Agestam Date: Sun, 28 Aug 2022 20:02:22 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9346e08..6cd50c6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A reusable workflow for building and publishing Python packages to PyPI. - Builds package with [pypa/build]. -- Verifies release tag matches version of built package. +- Verifies release tag matches version of built wheel. - Uploads package to PyPI with [pypa/gh-action-pypi-publish]. [pypa/build]: https://github.com/pypa/build From fb46897b4db84e1609445852d1f6c3a174325f05 Mon Sep 17 00:00:00 2001 From: Anton Agestam Date: Sun, 28 Aug 2022 20:02:43 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6cd50c6..f51ac70 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ on: jobs: build-and-publish: - uses: less-action/reusables/.github/workflows/python-publish.yaml@v2 + uses: less-action/reusables/.github/workflows/python-publish.yaml@v5 with: requirements_file: "setup.py" secrets: