From e7246ea1760d64656ce715884a223fe5be050e79 Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 31 Aug 2023 10:36:32 +0100 Subject: [PATCH] Make the workaround Windows specific to stop upsetting Mac --- .github/workflows/build_viewer.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_viewer.yml b/.github/workflows/build_viewer.yml index 72e7a7464c..fdb4b786a8 100644 --- a/.github/workflows/build_viewer.yml +++ b/.github/workflows/build_viewer.yml @@ -36,10 +36,16 @@ jobs: with: python-version: '3.11' cache: 'pip' - - run: | + + - if: runner.os == 'Windows' + run: | python3 -m pip install -r requirements.txt --user echo "$HOME/.local/bin" >> $GITHUB_PATH + - if: runner.os != 'Windows' + run: | + python3 -m pip install -r requirements.txt + - name: Check python version run: python -V - name: Check python3 version