0
0
Fork 0
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:
Tonye Jack 2023-09-11 20:45:23 -06:00
parent 485db8ac03
commit f5b80f433c

View file

@ -18,7 +18,7 @@ runs:
elif [[ "${{ runner.os }}" == "macOS" ]]; then
cache_dir="$(brew --cache postgresql@${{ inputs.postgresql_version }})"
elif [[ "${{ runner.os }}" == "Windows" ]]; then
cache_dir="~/AppData/Local/Temp/chocolatey/postgresql-${{ inputs.postgresql_version }}"
cache_dir="~\AppData\Local\Temp\chocolatey\postgresql-${{ inputs.postgresql_version }}"
fi
echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT"
shell: bash