Test macos11 build

This commit is contained in:
niuhuan 2022-10-17 17:00:53 +08:00 committed by GitHub
parent f65c25b9f8
commit af4328ea0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -57,10 +57,10 @@ jobs:
host: windows-latest
flutter_version: '2.10.3'
- target: macos
host: macos-latest
host: macos-11
flutter_version: '2.10.3'
- target: ios
host: macos-latest
host: macos-11
flutter_version: '3.3.4'
- target: android-arm32
host: ubuntu-latest
@ -229,7 +229,7 @@ jobs:
cp version.code.txt ../lib/assets/version.txt
- name: Upgrade deps version (flutter2 non-mac)
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.host != 'macos-latest' && startsWith(matrix.config.flutter_version, '2')
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.host != 'macos-11' && startsWith(matrix.config.flutter_version, '2')
run: |
sed -i "s/another_xlider: ^1.0.1+2/another_xlider: 1.0.1+2/g" pubspec.yaml
sed -i "s/flutter_styled_toast: ^2.0.0/flutter_styled_toast: 2.0.0/g" pubspec.yaml
@ -238,7 +238,7 @@ jobs:
flutter pub get
- name: Upgrade deps version (flutter2 mac)
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.host == 'macos-latest' && startsWith(matrix.config.flutter_version, '2')
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.host == 'macos-11' && startsWith(matrix.config.flutter_version, '2')
run: |
brew install gnu-sed
gsed -i "s/another_xlider: ^1.0.1+2/another_xlider: 1.0.1+2/g" pubspec.yaml