summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 16:03:18 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 16:03:18 -0500
commit47303c547a9186221d11c976d36898cee73d3d8c (patch)
treedb5314157e0915eb59d235977525a6696cec1fc6 /.github/workflows
parent375a7606c642bf006a7488a9699406a3d275ab54 (diff)
downloadcmd2-git-47303c547a9186221d11c976d36898cee73d3d8c.tar.gz
Try to fix missing Python dependencies on Windows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f6f97ea5..5ed536b1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,7 +43,8 @@ jobs:
${{ env.pythonLocation }}/scripts/*
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py', 'requirements.txt') }}
- name: Install python prerequisites
- if: steps.cache-deps.outputs.cache-hit != 'true'
+ # Cache step doesnt seems to work right on windows, so install Python prerequisites on Windows regardless
+ if: matrix.os == 'windows-latest' || steps.cache-deps.outputs.cache-hit != 'true'
run: |
pip install -U --user pip setuptools setuptools-scm flake8 nox
- name: Lint