0
0
Fork 0
mirror of https://github.com/tj-actions/install-postgresql.git synced 2024-12-20 01:18:18 +00:00

Enable debug mode

This commit is contained in:
Tonye Jack 2023-09-11 19:56:33 -06:00
parent b57977ae8c
commit 3e974ef08f

View file

@ -12,6 +12,7 @@ runs:
- name: Get cache directory - name: Get cache directory
id: cache-dir id: cache-dir
run: | run: |
set -x
if [[ "${{ runner.os }}" == "Linux" ]]; then if [[ "${{ runner.os }}" == "Linux" ]]; then
cache_dir=$(apt-cache policy postgresql-${{ inputs.postgresql_version }} | awk '/Filename/ {print $2}') cache_dir=$(apt-cache policy postgresql-${{ inputs.postgresql_version }} | awk '/Filename/ {print $2}')
elif [[ "${{ runner.os }}" == "macOS" ]]; then elif [[ "${{ runner.os }}" == "macOS" ]]; then