mirror of
https://github.com/actions/setup-python.git
synced 2024-12-27 09:55:23 +01:00
Merge pull request #59 from chenrui333/update-readme
Update checkout action to v2
This commit is contained in:
commit
b3b6fd7d43
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ See [action.yml](action.yml)
|
||||||
Basic:
|
Basic:
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
python-version: [ '2.x', '3.x', 'pypy2', 'pypy3' ]
|
python-version: [ '2.x', '3.x', 'pypy2', 'pypy3' ]
|
||||||
name: Python ${{ matrix.python-version }} sample
|
name: Python ${{ matrix.python-version }} sample
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Setup python
|
- name: Setup python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
python-version: 3.6
|
python-version: 3.6
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue