Skip to content

Commit a8ddac2

Browse files
Fix typo in inputs
d7872a6 changed the name of an input from `dist` to `packages-dir`, but unfortunately it looks like GitHub actions expect underscores rather than dashes, so deploys are currently broken with the following errors: ``` Run pypa/gh-action-pypi-publish@master with: user: __token__ password: *** packages-dir: dist env: pythonLocation: /opt/hostedtoolcache/Python/3.8.0/x64 /usr/bin/docker run --name [...] -e INPUT_PACKAGES-DIR [...] /app/twine-upload.sh: line 22: INPUT_PACKAGES_DIR: unbound variable This patch replaces the dash with an underscore. Resolves #20
1 parent 2ae9caf commit a8ddac2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ would now look like:
9898
with:
9999
user: __token__
100100
password: ${{ secrets.pypi_password }}
101-
packages-dir: custom-dir/
101+
packages_dir: custom-dir/
102102
```
103103

104104
## License

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputs:
1212
repository_url:
1313
description: The repository URL to use
1414
required: false
15-
packages-dir:
15+
packages_dir:
1616
description: The target directory for distribution
1717
required: false
1818
default: dist
@@ -26,4 +26,4 @@ runs:
2626
- ${{ inputs.user }}
2727
- ${{ inputs.password }}
2828
- ${{ inputs.repository_url }}
29-
- ${{ inputs.packages-dir }}
29+
- ${{ inputs.packages_dir }}

0 commit comments

Comments
 (0)