1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-25 09:58:36 +00:00

Update checkout action to v2

This commit is contained in:
Rui Chen 2020-01-29 23:27:43 -05:00
parent 3503180221
commit a208271c0e
No known key found for this signature in database
GPG key ID: 15A594F673F803E8

View file

@ -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: