Skip to content

Commit

Permalink
👷 Try to run on minimum SDK requirement (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 authored Oct 17, 2024
1 parent de46826 commit 4d2de12
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 6 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/runnable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ on:
paths-ignore:
- "**.md"

env:
MINIMUM_FLUTTER_VERSION: '3.16.0'

jobs:
analyze:
name: Analyze on ${{ matrix.os }}
name: Analyze on ${{ matrix.os }} with ${{ matrix.flutter-version }} Flutter
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
flutter-version: [ min, latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -28,6 +32,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
- name: Log Dart/Flutter versions
run: |
dart --version
Expand All @@ -47,8 +52,11 @@ jobs:
test_iOS:
needs: analyze
name: Test iOS
name: Test iOS with ${{ matrix.flutter-version }} Flutter
runs-on: macos-latest
strategy:
matrix:
flutter-version: [ min, latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -58,15 +66,19 @@ jobs:
- uses: subosito/flutter-action@v2.8.0
with:
channel: stable
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example; flutter build ios --no-codesign

test_android:
needs: analyze
name: Test Android
name: Test Android with ${{ matrix.flutter-version }} Flutter
runs-on: ubuntu-latest
strategy:
matrix:
flutter-version: [ min, latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -76,6 +88,7 @@ jobs:
- uses: subosito/flutter-action@v2.8.0
with:
channel: stable
flutter-version: ${{ matrix.flutter-version == 'min' && env.MINIMUM_FLUTTER_VERSION || '' }}
- run: dart --version
- run: flutter --version
- run: flutter pub get
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ that can be found in the LICENSE file. -->

*None.*

## 9.3.3

### Fixes

- Recovers the compatibility with Flutter 3.16.

## 9.3.2

### Improvements
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: wechat_assets_picker_demo
description: The demo project for the wechat_assets_picker package.
version: 9.3.2+60
version: 9.3.3+61
publish_to: none

environment:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/delegates/asset_picker_builder_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1500,11 +1500,11 @@ class DefaultAssetPickerBuilderDelegate
hint += ', ${asset.title}';
}
return Semantics(
key: ValueKey('${asset.id}-semantics'),
button: false,
enabled: !isBanned,
excludeSemantics: true,
focusable: !isSwitchingPath,
identifier: asset.id,
label: '${semanticsTextDelegate.semanticTypeLabel(asset.type)}'
'${semanticIndex(index)}, '
'${asset.createDateTime.toString().replaceAll('.000', '')}',
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: wechat_assets_picker
version: 9.3.2
version: 9.3.3
description: |
An image picker (also with videos and audio)
for Flutter projects based on WeChat's UI,
Expand Down

0 comments on commit 4d2de12

Please sign in to comment.