1
0
Fork 0
mirror of https://github.com/subosito/flutter-action.git synced 2024-08-16 10:19:50 +02:00

Add build instructions for the web

This commit is contained in:
Alessio Luciani 2020-06-19 16:13:08 +02:00 committed by GitHub
parent a81c830097
commit 5d4e01ab3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,23 @@ steps:
- run: flutter build appbundle
```
Build for the web:
```yaml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v1
with:
channel: beta
- run: flutter config --enable-web
- run: flutter pub get
- run: flutter test
- run: flutter build web
```
Use latest release for particular channel:
```yaml