mirror of https://github.com/actions/setup-python
docs: add example if statement in advanced-usage.md
Signed-off-by: Stephen L. <lrq3000@gmail.com>
This commit is contained in:
parent
7d44831f58
commit
65bdb26ab9
|
@ -234,6 +234,7 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Display Python version
|
||||
if: ${{ python-version != 'pypy2.7' }} # in if statements, use single-quotes (not double-quotes) in expressions to test input `python-version`
|
||||
run: python --version
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue