Skip to content

Commit

Permalink
Update documentation for python-version-file
Browse files Browse the repository at this point in the history
  • Loading branch information
kishaningithub committed Nov 15, 2023
1 parent 7d4e539 commit f40a60b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ steps:
- run: python my_script.py
```
The `python-version` input is optional. If not supplied, the action will try to resolve the version from the default
`.python-version` file. Highly recommend always setting Python version explicitly using the `python-version` or
`python-version-file` inputs.

```yaml
steps:
- uses: kishaningithub/setup-python-amazon-linux@v1
with:
python-version-file: '.python-version'
```

For more options to the action, kindly refer [action.yml](./action.yml)

## Supported amazon linux flavours
Expand Down

0 comments on commit f40a60b

Please sign in to comment.