From 125660176353d23c7703bb8610c01f3a3e0028d3 Mon Sep 17 00:00:00 2001 From: MichaelPesce Date: Thu, 21 Nov 2024 12:37:10 -0600 Subject: [PATCH] add if back in --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 67a2482..8e97471 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -135,9 +135,10 @@ jobs: - name: Rename conda package cache if: runner.os == 'Windows' shell: bash - run: | - # Try renaming hardcoded directory - mv C:\\Users\\runneradmin\\conda_pkgs_dir C:\\Users\\runneradmin\\conda_pkgs_dir_do_not_cache + run: | # Try renaming hardcoded directory + if [ -d C:\\Users\\runneradmin\\conda_pkgs_dir ]; then + mv C:\\Users\\runneradmin\\conda_pkgs_dir C:\\Users\\runneradmin\\conda_pkgs_dir + fi pytest: name: pytest (${{ matrix.os }})