Update build.yml

This commit is contained in:
v7lin 2022-05-25 20:19:50 +08:00
parent 5817560dc6
commit 45650199dc

View File

@ -29,8 +29,9 @@ jobs:
name: Build Android on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
@ -40,9 +41,6 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run android/install-ndk@shell
run: |
sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;21.1.6352462"
- run: flutter --version
- run: flutter pub get
- run: flutter format --dry-run --set-exit-if-changed .