mirror of
https://github.com/subosito/flutter-action.git
synced 2024-08-16 10:19:50 +02:00
updated usage
This commit is contained in:
parent
944fac1f62
commit
1f3ea86f20
1 changed files with 33 additions and 0 deletions
33
README.md
33
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
|
||||
|
|
Loading…
Reference in a new issue