From 1f3ea86f20291d3ef6f91e4b24aeb2784393a671 Mon Sep 17 00:00:00 2001 From: Alif Rachmawadi Date: Fri, 16 Aug 2019 19:02:42 +0700 Subject: [PATCH] updated usage --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index f8a82f0..e22c68d 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,39 @@ steps: - run: flutter build apk ``` +Use latest release for particular channel: + +```yaml +steps: +- uses: actions/checkout@v1 +- uses: actions/setup-java@v1 + with: + java-version: '12.x' +- uses: subosito/flutter-action@v1 + with: + channel: 'stable' # or: 'dev' or 'beta' +- run: flutter pub get +- run: flutter test +- run: flutter build apk +``` + +Use latest release for particular version and/or channel: + +```yaml +steps: +- uses: actions/checkout@v1 +- uses: actions/setup-java@v1 + with: + java-version: '12.x' +- uses: subosito/flutter-action@v1 + with: + version: '1.7.x' + channel: 'dev' # optional +- run: flutter pub get +- run: flutter test +- run: flutter build apk +``` + Matrix Testing: ```yaml