File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- # setup-python
1+ # setup-python V2
22
33<p align =" left " >
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 >
2525``` yaml
2626steps :
2727- uses : actions/checkout@v2
28- - uses : actions/setup-python@v1
28+ - uses : actions/setup-python@v2
2929 with :
3030 python-version : ' 3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
3131 architecture : ' x64' # optional x64 or x86. Defaults to x64 if not specified
4444 steps :
4545 - uses : actions/checkout@v2
4646 - name : Setup python
47- uses : actions/setup-python@v1
47+ uses : actions/setup-python@v2
4848 with :
4949 python-version : ${{ matrix.python-version }}
5050 architecture : x64
6868 steps :
6969 - uses : actions/checkout@v2
7070 - name : Set up Python
71- uses : actions/setup-python@v1
71+ uses : actions/setup-python@v2
7272 with :
7373 python-version : ${{ matrix.python-version }}
7474 - name : Display Python version
8585 python-version : [3.5, 3.6, 3.7.4, 3.8]
8686 steps :
8787 - uses : actions/checkout@v2
88- - uses : actions/setup-python@v1
88+ - uses : actions/setup-python@v2
8989 with :
9090 python-version : ${{ matrix.python }}
9191 - run : python my_script.py
You can’t perform that action at this time.
0 commit comments