Skip to content

Commit 06d52bb

Browse files
committed
chore: update pristine-homebrew action to use multi-line string for cache paths
1 parent c9be6d5 commit 06d52bb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/actions/pristine-homebrew/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ runs:
4040
uses: actions/cache/restore@v4
4141
with:
4242
lookup-only: true
43-
path: ${{ env.CACHE_PATHS }}
43+
path: |-
44+
${{ env.CACHE_PATHS }}
4445
key: brew-pristine-${{ inputs.os }}-${{ steps.brew.outputs.version }}
4546
- name: Remove current Homebrew directories
4647
if: inputs.restore == 'true' && steps.cache_lookup.outputs.cache-hit == 'true'
@@ -54,7 +55,8 @@ runs:
5455
if: inputs.restore == 'true' && steps.cache_lookup.outputs.cache-hit == 'true'
5556
uses: actions/cache/restore@v4
5657
with:
57-
path: ${{ env.CACHE_PATHS }}
58+
path: |-
59+
${{ env.CACHE_PATHS }}
5860
key: ${{ steps.cache_lookup.outputs.cache-primary-key }}
5961
- name: Make Homebrew pristine
6062
if: steps.cache_lookup.outputs.cache-hit != 'true'
@@ -89,7 +91,8 @@ runs:
8991
if: steps.cache_lookup.outputs.cache-hit != 'true'
9092
uses: actions/cache/save@v4
9193
with:
92-
path: ${{ env.CACHE_PATHS }}
94+
path: |-
95+
${{ env.CACHE_PATHS }}
9396
key: ${{ steps.cache_lookup.outputs.cache-primary-key }}
9497
- name: Remove brew download cache
9598
if: inputs.restore == 'true'

0 commit comments

Comments
 (0)