From af4328ea0f5508f044c00e61eb467abfb8aba71c Mon Sep 17 00:00:00 2001 From: niuhuan Date: Mon, 17 Oct 2022 17:00:53 +0800 Subject: [PATCH] Test macos11 build --- .github/workflows/Release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 96d1fe2..bcdea94 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -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