From 5d4e01ab3b31a03960bafab5f4d0d6445baf8377 Mon Sep 17 00:00:00 2001 From: Alessio Luciani Date: Fri, 19 Jun 2020 16:13:08 +0200 Subject: [PATCH] Add build instructions for the web --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 9122d55..87d0720 100644 --- a/README.md +++ b/README.md @@ -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