Skip to content

Commit

Permalink
Fix deprecated option in github-deploy example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
NyanKiyoshi authored Sep 1, 2023
1 parent 001f11c commit a46eb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/github-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit a46eb94

Please sign in to comment.