mirror of
https://github.com/actions/setup-python.git
synced 2025-01-11 02:25:17 +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
8f0ee16451
commit
dfdeeb8147
@ -247,6 +247,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
Block a user