Test macos11 build
This commit is contained in:
parent
f65c25b9f8
commit
af4328ea0f
|
@ -57,10 +57,10 @@ jobs:
|
||||||
host: windows-latest
|
host: windows-latest
|
||||||
flutter_version: '2.10.3'
|
flutter_version: '2.10.3'
|
||||||
- target: macos
|
- target: macos
|
||||||
host: macos-latest
|
host: macos-11
|
||||||
flutter_version: '2.10.3'
|
flutter_version: '2.10.3'
|
||||||
- target: ios
|
- target: ios
|
||||||
host: macos-latest
|
host: macos-11
|
||||||
flutter_version: '3.3.4'
|
flutter_version: '3.3.4'
|
||||||
- target: android-arm32
|
- target: android-arm32
|
||||||
host: ubuntu-latest
|
host: ubuntu-latest
|
||||||
|
@ -229,7 +229,7 @@ jobs:
|
||||||
cp version.code.txt ../lib/assets/version.txt
|
cp version.code.txt ../lib/assets/version.txt
|
||||||
|
|
||||||
- name: Upgrade deps version (flutter2 non-mac)
|
- 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: |
|
run: |
|
||||||
sed -i "s/another_xlider: ^1.0.1+2/another_xlider: 1.0.1+2/g" pubspec.yaml
|
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
|
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
|
flutter pub get
|
||||||
|
|
||||||
- name: Upgrade deps version (flutter2 mac)
|
- 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: |
|
run: |
|
||||||
brew install gnu-sed
|
brew install gnu-sed
|
||||||
gsed -i "s/another_xlider: ^1.0.1+2/another_xlider: 1.0.1+2/g" pubspec.yaml
|
gsed -i "s/another_xlider: ^1.0.1+2/another_xlider: 1.0.1+2/g" pubspec.yaml
|
||||||
|
|
Loading…
Reference in New Issue