diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 915ce052..f7f6e374 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -39,12 +39,14 @@ jobs: run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT shell: bash - - name: Set Cache Path + - name: Set Up Conda Path (Windows-Compatible) run: | if [[ "${{ runner.os }}" == "Windows" ]]; then - echo "CACHE_ENV_PATH=C:\\Users\\runneradmin\\miniconda3\\envs" >> $GITHUB_ENV + echo "Adding Conda to PATH for Windows" + echo "C:\\Users\\runneradmin\\miniconda3\\condabin" >> $GITHUB_PATH else - echo "CACHE_ENV_PATH=$HOME/miniconda3/envs" >> $GITHUB_ENV + echo "Adding Conda to PATH for Linux/Mac" + echo "$HOME/miniconda3/bin" >> $GITHUB_PATH fi - name: Restore cache