Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/test-flutter-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ name: test-flutter-package
on:
push:
branches:
- dart-xcframework-2

schedule:
# nightly build at 16:50 UTC time every day
- cron: "50 16 * * *"
- flutter-ci-2
Comment on lines 3 to +6

workflow_dispatch:

Expand Down Expand Up @@ -302,8 +298,12 @@ jobs:

android:
if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'
name: Android
name: Android (${{ matrix.abi }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
abi: [arm64-v8a, armeabi-v7a, x86_64, x86]
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -341,15 +341,15 @@ jobs:
run: |
cd flutter-examples/hello_world
flutter pub get
flutter build apk
flutter build apk --split-per-abi --target-platform android-${{ matrix.abi }}
Comment on lines 341 to +344

ls -lh build/app/outputs/flutter-apk/

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: hello-world-pkg-android
path: flutter-examples/hello_world/build/app/outputs/flutter-apk/app-release.apk
name: hello-world-pkg-android-${{ matrix.abi }}
path: flutter-examples/hello_world/build/app/outputs/flutter-apk/

web:
if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'
Expand Down Expand Up @@ -410,12 +410,12 @@ jobs:
shell: bash
run: |
cd flutter-examples/hello_world/build/
mv web hello-world-pkg-web
zip -r hello-world-pkg-web.zip hello-world-pkg-web/
ls -lh hello-world-pkg-web.zip
mv web flutter-hello-world-pkg-web
zip -r flutter-hello-world-pkg-web.zip flutter-hello-world-pkg-web/
ls -lh flutter-hello-world-pkg-web.zip

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: hello-world-pkg-web
path: flutter-examples/hello_world/build/hello-world-pkg-web.zip
name: flutter-hello-world-pkg-web
path: flutter-examples/hello_world/build/flutter-hello-world-pkg-web.zip
Loading
Loading