File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- # setup-python
1
+ # setup-python V2
2
2
3
3
<p align =" left " >
4
4
<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 >
25
25
``` yaml
26
26
steps :
27
27
- uses : actions/checkout@v2
28
- - uses : actions/setup-python@v1
28
+ - uses : actions/setup-python@v2
29
29
with :
30
30
python-version : ' 3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
31
31
architecture : ' x64' # optional x64 or x86. Defaults to x64 if not specified
44
44
steps :
45
45
- uses : actions/checkout@v2
46
46
- name : Setup python
47
- uses : actions/setup-python@v1
47
+ uses : actions/setup-python@v2
48
48
with :
49
49
python-version : ${{ matrix.python-version }}
50
50
architecture : x64
68
68
steps :
69
69
- uses : actions/checkout@v2
70
70
- name : Set up Python
71
- uses : actions/setup-python@v1
71
+ uses : actions/setup-python@v2
72
72
with :
73
73
python-version : ${{ matrix.python-version }}
74
74
- name : Display Python version
85
85
python-version : [3.5, 3.6, 3.7.4, 3.8]
86
86
steps :
87
87
- uses : actions/checkout@v2
88
- - uses : actions/setup-python@v1
88
+ - uses : actions/setup-python@v2
89
89
with :
90
90
python-version : ${{ matrix.python }}
91
91
- run : python my_script.py
You can’t perform that action at this time.
0 commit comments