From a46eb94c1e49a1a26ac48f8f744879cbf4fd1059 Mon Sep 17 00:00:00 2001 From: Mikail <6186720+NyanKiyoshi@users.noreply.github.com> Date: Fri, 1 Sep 2023 21:36:57 +0200 Subject: [PATCH] Fix deprecated option in github-deploy example The `github-deploy.yml` example workflow was using a deprecated argument `repository_url` which is not `repository-url` since v1.7.0 (https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.7.0 + https://github.com/pypa/gh-action-pypi-publish/blob/b7f401de30cb6434a1e19f805ff006643653240e/action.yml#L15) Thus fixing the warning in GitHub workflows: > Warning: Input 'repository_url' has been deprecated with message: The inputs have been normalized to use kebab-case. Use `repository-url` instead. --- examples/github-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index acafd7273..51cb97575 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -60,4 +60,4 @@ jobs: - uses: pypa/gh-action-pypi-publish@release/v1 with: - # To test: repository_url: https://test.pypi.org/legacy/ + # To test: repository-url: https://test.pypi.org/legacy/