mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
Updated cache location for windows
This commit is contained in:
parent
c00d9b2172
commit
50ccdd3b84
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ runs:
|
||||||
elif [[ "${{ runner.os }}" == "macOS" ]]; then
|
elif [[ "${{ runner.os }}" == "macOS" ]]; then
|
||||||
cache_dir=$(brew --cache postgresql@${{ inputs.postgresql_version }})
|
cache_dir=$(brew --cache postgresql@${{ inputs.postgresql_version }})
|
||||||
elif [[ "${{ runner.os }}" == "Windows" ]]; then
|
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 }}')
|
cache_dir=$(choco cache list | grep 'postgresql${{ inputs.postgresql_version }}')
|
||||||
fi
|
fi
|
||||||
echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT"
|
echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT"
|
||||||
|
|
Loading…
Add table
Reference in a new issue