From dce70a13b673b54d858098f9a2c8eee5cbb6aa70 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 11 Sep 2023 20:34:01 -0600 Subject: [PATCH] Updated cache location for windows --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f006025..94ac954 100644 --- a/action.yml +++ b/action.yml @@ -18,7 +18,8 @@ runs: elif [[ "${{ runner.os }}" == "macOS" ]]; then cache_dir=$(brew --cache postgresql@${{ inputs.postgresql_version }}) elif [[ "${{ runner.os }}" == "Windows" ]]; then - choco cache list + choco config get cacheLocation + ls -al $(choco config get cacheLocation) cache_dir=$(choco cache list | grep 'postgresql${{ inputs.postgresql_version }}') fi echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT"