forked from Nexus/nexus
Fix the chmod step: find needs -L to follow the Nix symlink farm
Confirmed via CI diagnostics: the resolved Flutter root (flutter-wrapped-*-sdk-links) is a symlink farm, and plain find -type d doesn't follow directory symlinks, so it silently matched zero frameworks. Reproduced and verified the fix locally.
This commit is contained in:
parent
f155d2dd2d
commit
b66d8d57b5
2 changed files with 6 additions and 6 deletions
6
.github/workflows/ios.yml
vendored
6
.github/workflows/ios.yml
vendored
|
|
@ -35,9 +35,9 @@ jobs:
|
|||
echo "lipo resolves to: $(command -v lipo)"
|
||||
FLUTTER_ROOT="$(dirname "$(dirname "$(readlink -f "$(command -v flutter)")")")"
|
||||
echo "Resolved Flutter root: $FLUTTER_ROOT"
|
||||
find "$FLUTTER_ROOT" -type d -iname "*.framework" -print
|
||||
find "$FLUTTER_ROOT" -type d -iname "*.framework" -exec chmod -R u+w {} + 2>&1 || true
|
||||
find "$FLUTTER_ROOT" -type d -iname "*.framework" -exec ls -ld {} \;
|
||||
find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -print
|
||||
find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -exec chmod -R u+w {} + 2>&1 || true
|
||||
find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -exec ls -ld {} \;
|
||||
|
||||
flutter build ios --release --no-codesign
|
||||
'
|
||||
|
|
|
|||
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
|
@ -35,9 +35,9 @@ jobs:
|
|||
echo "lipo resolves to: $(command -v lipo)"
|
||||
FLUTTER_ROOT="$(dirname "$(dirname "$(readlink -f "$(command -v flutter)")")")"
|
||||
echo "Resolved Flutter root: $FLUTTER_ROOT"
|
||||
find "$FLUTTER_ROOT" -type d -iname "*.framework" -print
|
||||
find "$FLUTTER_ROOT" -type d -iname "*.framework" -exec chmod -R u+w {} + 2>&1 || true
|
||||
find "$FLUTTER_ROOT" -type d -iname "*.framework" -exec ls -ld {} \;
|
||||
find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -print
|
||||
find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -exec chmod -R u+w {} + 2>&1 || true
|
||||
find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -exec ls -ld {} \;
|
||||
|
||||
flutter build macos --release
|
||||
'
|
||||
|
|
|
|||
Loading…
Reference in a new issue