Bump Flutter version

This also removes a patch for flutter in the MacOS runner,
since the issue is resolved in the newer flutter version.
This commit is contained in:
Elias Bonnici 2024-09-05 13:52:05 +02:00
parent 38717856bf
commit 14d3a13fe5
No known key found for this signature in database
GPG Key ID: 5EAC28EA3F980CCF
3 changed files with 1 additions and 20 deletions

View File

@ -1,2 +1,2 @@
FLUTTER=3.24.1
FLUTTER=3.24.2
PYVER=3.12.5

View File

@ -56,13 +56,6 @@ jobs:
- run: flutter config --enable-macos-desktop
- run: flutter --version
- name: Apply Flutter Patch
run: |
cd $FLUTTER_ROOT
git apply $GITHUB_WORKSPACE/macos_assemble.patch
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
- name: Run lints/tests
env:
SKIP: ${{ steps.cache-helper.outputs.cache-hit == 'true' && 'mypy,flake8,black,bandit' || ''}}

View File

@ -1,12 +0,0 @@
diff --git a/packages/flutter_tools/bin/macos_assemble.sh b/packages/flutter_tools/bin/macos_assemble.sh
index 40c6a5051f..a7f05d9113 100755
--- a/packages/flutter_tools/bin/macos_assemble.sh
+++ b/packages/flutter_tools/bin/macos_assemble.sh
@@ -222,6 +222,7 @@ EmbedFrameworks() {
# Iterate through all .frameworks in native assets directory.
for native_asset in "${native_assets_path}"*.framework; do
+ [ -e "$native_asset" ] || continue # Skip when there are no matches.
# Codesign the framework inside the app bundle.
RunCommand codesign --force --verbose --sign "${EXPANDED_CODE_SIGN_IDENTITY}" -- "${xcode_frameworks_dir}/$(basename "$native_asset")"
done