8000 docs: add example if statement in advanced-usage.md · actions/setup-python@dfdeeb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit dfdeeb8

Browse files
committed
docs: add example if statement in advanced-usage.md
Signed-off-by: Stephen L. <lrq3000@gmail.com>
1 parent 8f0ee16 commit dfdeeb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/advanced-usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ jobs:
247247
with:
248248
python-version: ${{ matrix.python-version }}
249249
- name: Display Python version
250+
if: ${{ python-version != 'pypy2.7' }} # in if statements, use single-quotes (not double-quotes) in expressions to test input `python-version`
250251
run: python --version
251252
```
252253

0 commit comments

Comments
 (0)
0