10000 Use python-version in the example for consistency · bcomnes/setup-python@ebb2329 · GitHub
[go: up one dir, main page]

Skip to content

Commit ebb2329

Browse files
authored
Use python-version in the example for consistency
1 parent 6f6fcee commit ebb2329

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<a href="https://github.com/actions/setup-python"><img alt="GitHub Actions status" src="https://github.com/actions/setup-python/workflows/Main%20workflow/badge.svg"></a>
55
</p>
66

7-
This action sets up a python environment for use in actions by:
7+
This action sets up a Python environment for use in actions by:
88

9-
- optionally installing a version of python and adding to PATH. Note that this action only uses versions of Python already installed in the cache. The action will fail if no matching versions are found.
9+
- optionally installing a version of Python and adding to PATH. Note that this action only uses versions of Python already installed in the cache. The action will fail if no matching versions are found.
1010
- registering problem matchers for error output
1111

1212
# Usage
@@ -31,14 +31,14 @@ jobs:
3131
runs-on: ubuntu-16.04
3232
strategy:
3333
matrix:
34-
python: [ '2.x', '3.x', 'pypy3' ]
35-
name: Python ${{ matrix.python }} sample
34+
python-version: [ '2.x', '3.x', 'pypy3' ]
35+
name: Python ${{ matrix.python-version }} sample
3636
steps:
3737
- uses: actions/checkout@master
3838
- name: Setup python
3939
uses: actions/setup-python@v1
4040
with:
41-
python-version: ${{ matrix.python }}
41+
python-version: ${{ matrix.python-version }}
4242
architecture: x64
4343
- run: python my_script.py
4444
```

0 commit comments

Comments
 (0)
0