Unverified 提交 35817f9b authored 作者: JarvanMo's avatar JarvanMo 提交者: GitHub

Update build_test.yml

update flutter action
上级 7262755a
...@@ -14,11 +14,10 @@ jobs: ...@@ -14,11 +14,10 @@ jobs:
matrix: matrix:
os: [macos-latest] os: [macos-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:
channel: stable channel: stable
architecture: x64
- run: flutter pub get - run: flutter pub get
- run: cd example; flutter build ios --no-codesign - run: cd example; flutter build ios --no-codesign
...@@ -29,11 +28,10 @@ jobs: ...@@ -29,11 +28,10 @@ jobs:
matrix: matrix:
os: [macos-latest] os: [macos-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:
channel: stable channel: stable
architecture: x64
- run: flutter pub get - run: flutter pub get
- run: | - run: |
cd example cd example
...@@ -47,7 +45,7 @@ jobs: ...@@ -47,7 +45,7 @@ jobs:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with:
...@@ -57,5 +55,4 @@ jobs: ...@@ -57,5 +55,4 @@ jobs:
with: with:
channel: stable channel: stable
- run: flutter pub get - run: flutter pub get
- run: sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;25.2.9519653"
- run: cd example; flutter build apk --debug - run: cd example; flutter build apk --debug
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论