Skip to content

Commit c0c616e

Browse files
committed
bugfix
1 parent 1f6b6af commit c0c616e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

action.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,17 @@ runs:
8686
python-version: ${{ inputs.python-version }}
8787
architecture: x64
8888
cache: pip
89-
- run: |
90-
python --version
91-
pip install -r ${{ github.action_path }}/requirements.txt
89+
- run: python --version
90+
- name: Is Windows
91+
if: ${{ runner.os }} == "Windows"
92+
run: pip install -r ${{ github.action_path }}\requirements.txt
9293
shell: bash
93-
name: Install lintners
94+
name: Install lintners on Win
95+
- name: Is Posix
96+
if: ${{ runner.os }} != "Windows"
97+
run: pip install -r ${{ github.action_path }}/requirements.txt
98+
shell: bash
99+
name: Install lintners on Posix
94100
- run: >
95101
${{ github.action_path }}/entrypoint.sh
96102
'${{ inputs.python-root-list }}'

0 commit comments

Comments
 (0)