mirror of
https://github.com/actions/setup-python.git
synced 2024-11-25 01:38:56 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue