From 50ccdd3b84a3c66fa651e9c67dc05749aae8cfa5 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 11 Sep 2023 20:39:16 -0600 Subject: [PATCH] Updated cache location for windows --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 7f37dba..201a8c9 100644 --- a/action.yml +++ b/action.yml @@ -18,7 +18,7 @@ runs: elif [[ "${{ runner.os }}" == "macOS" ]]; then cache_dir=$(brew --cache postgresql@${{ inputs.postgresql_version }}) elif [[ "${{ runner.os }}" == "Windows" ]]; then - choco search postgresql --exact --all-versions --limit-output --order-by-popularity --by-id-only --approved-only --download-cache + choco search postgresql --download-cache cache_dir=$(choco cache list | grep 'postgresql${{ inputs.postgresql_version }}') fi echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT"