mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
Add support for canceling other jobs
This commit is contained in:
parent
3f1b044b57
commit
242b4d6e4b
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ runs:
|
|||
elif [[ "${{ runner.os }}" == "macOS" ]]; then
|
||||
cache_dir=$(brew --cache postgresql@${{ inputs.postgresql_version }})
|
||||
elif [[ "${{ runner.os }}" == "Windows" ]]; then
|
||||
cache_dir=$(choco search postgresql${{ inputs.postgresql_version }} --exact --limit-output | grep "^postgresql " | awk '{print $NF}')
|
||||
choco cache list
|
||||
cache_dir=$(choco cache list | grep 'postgresql${{ inputs.postgresql_version }}')
|
||||
fi
|
||||
echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT"
|
||||
shell: bash
|
||||
|
|
Loading…
Add table
Reference in a new issue