Skip to content

Commit 2c27bc9

Browse files
fix(ci): expand homebrew cache paths for actions/cache compatibility
GitHub Actions cache doesn't support brace expansion in path specs. Expanded {pkg1,pkg2} syntax to individual lines to fix path validation warning during cache save step. Related: homebrew caching optimization with smart version-based invalidation
1 parent 3140116 commit 2c27bc9

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build-ios-app.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,14 @@ jobs:
6161
uses: actions/cache@v5
6262
with:
6363
path: |
64-
${{ steps.brew-prefix.outputs.prefix }}/Cellar/{xcodegen,libimobiledevice,libplist,libusbmuxd}
65-
${{ steps.brew-prefix.outputs.prefix }}/opt/{xcodegen,libimobiledevice,libplist,libusbmuxd}
64+
${{ steps.brew-prefix.outputs.prefix }}/Cellar/xcodegen
65+
${{ steps.brew-prefix.outputs.prefix }}/Cellar/libimobiledevice
66+
${{ steps.brew-prefix.outputs.prefix }}/Cellar/libplist
67+
${{ steps.brew-prefix.outputs.prefix }}/Cellar/libusbmuxd
68+
${{ steps.brew-prefix.outputs.prefix }}/opt/xcodegen
69+
${{ steps.brew-prefix.outputs.prefix }}/opt/libimobiledevice
70+
${{ steps.brew-prefix.outputs.prefix }}/opt/libplist
71+
${{ steps.brew-prefix.outputs.prefix }}/opt/libusbmuxd
6672
key: ${{ runner.os }}-${{ runner.arch }}-brew-${{ steps.brew-versions.outputs.xcodegen }}-${{ steps.brew-versions.outputs.libimobiledevice }}
6773
restore-keys: |
6874
${{ runner.os }}-${{ runner.arch }}-brew-

0 commit comments

Comments
 (0)