Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f40a60b

Browse files
Update documentation for python-version-file
1 parent 7d4e539 commit f40a60b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ steps:
2323
- run: python my_script.py
2424
```
2525
26+
The `python-version` input is optional. If not supplied, the action will try to resolve the version from the default
27+
`.python-version` file. Highly recommend always setting Python version explicitly using the `python-version` or
28+
`python-version-file` inputs.
29+
30+
```yaml
31+
steps:
32+
- uses: kishaningithub/setup-python-amazon-linux@v1
33+
with:
34+
python-version-file: '.python-version'
35+
```
36+
2637
For more options to the action, kindly refer [action.yml](./action.yml)
2738

2839
## Supported amazon linux flavours

0 commit comments

Comments
 (0)