Skip to content

Commit 2183136

Browse files
authored
Merge pull request #20 from YannickJadoul/fix-input-boolean
Fix the issue that input values seems to be strings rather than e.g. booleans
2 parents 6b85e3e + 2aa828b commit 2183136

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
@@ -45,7 +45,7 @@ jobs:
4545
- [available versions]
4646

4747
In either case, the actions's `debug` input can be used to install a
48-
debug build of the selected Python version.
48+
debug build of the selected Python version, by adding `debug: true`.
4949

5050
note: this action is incompatible with ubuntu-16.04 due to a limitation in
5151
`add-apt-repository`

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ inputs:
1111
runs:
1212
using: composite
1313
steps:
14-
- name: add deadsnakes ppa and install ${{ inputs.python-version }} ${{ inputs.debug && '(debug)' || '' }}
15-
run: ${{ github.action_path }}/bin/install-python ${{ inputs.python-version }} ${{ inputs.debug && '--debug' || '' }}
14+
- name: add deadsnakes ppa and install ${{ inputs.python-version }} ${{ inputs.debug == 'true' && '(debug)' || '' }}
15+
run: ${{ github.action_path }}/bin/install-python ${{ inputs.python-version }} ${{ inputs.debug == 'true' && '--debug' || '' }}
1616
shell: bash

0 commit comments

Comments
 (0)