Skip to content

Commit

Permalink
fix: input variables usage
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo4diani committed Aug 13, 2023
1 parent d57e251 commit f863f2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
steps:
- uses: actions/setup-python@v3
with:
python-version: ${{python-version}}
python-version: ${{ inputs.python-version }}

- uses: actions/checkout@v3
with:
Expand All @@ -48,7 +48,7 @@ runs:
id: release-status
shell: bash
env:
GH_TOKEN: ${{ github-token }}
GH_TOKEN: ${{ inputs.github-token }}
run: |
pip install python-semantic-release
if semantic-release --noop --strict version
Expand All @@ -63,7 +63,7 @@ runs:
id: github-release
shell: bash
env:
GH_TOKEN: ${{ github-token }}
GH_TOKEN: ${{ inputs.github-token }}
run: |
semantic-release version
git fetch --tags
Expand All @@ -76,7 +76,7 @@ runs:
id: pypi-release
shell: bash
env:
PYPI_TOKEN: ${{ pypi-token }}
PYPI_TOKEN: ${{ inputs.pypi-token }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish

0 comments on commit f863f2a

Please sign in to comment.