mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
Add support for skipping cache for windows
This commit is contained in:
parent
fef22a2be7
commit
e9a9096690
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,15 @@ runs:
|
||||||
- run: |
|
- run: |
|
||||||
bash $GITHUB_ACTION_PATH/entrypoint.sh
|
bash $GITHUB_ACTION_PATH/entrypoint.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
|
# Skip if cache hit and it's on Windows
|
||||||
|
if: |
|
||||||
|
(
|
||||||
|
runner.os == 'Windows' && steps.cache-postgresql.outputs.cache-hit != 'true'
|
||||||
|
)
|
||||||
|
||
|
||||||
|
(
|
||||||
|
runner.os != 'Windows'
|
||||||
|
)
|
||||||
env:
|
env:
|
||||||
# INPUT_<VARIABLE_NAME> is not available in Composite run steps
|
# INPUT_<VARIABLE_NAME> is not available in Composite run steps
|
||||||
# https://github.community/t/input-variable-name-is-not-available-in-composite-run-steps/127611
|
# https://github.community/t/input-variable-name-is-not-available-in-composite-run-steps/127611
|
||||||
|
|
Loading…
Add table
Reference in a new issue