update web build
Some checks failed
Release / meta (push) Successful in 6s
Release / web-build (push) Failing after 35s
Release / linux-build (push) Successful in 46s
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
Release / android-build (push) Has been cancelled
Some checks failed
Release / meta (push) Successful in 6s
Release / web-build (push) Failing after 35s
Release / linux-build (push) Successful in 46s
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
Release / android-build (push) Has been cancelled
This commit is contained in:
@@ -273,7 +273,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Flutter web (release)
|
- name: Build Flutter web (release)
|
||||||
run: |
|
run: |
|
||||||
flutter build web --release --base-href=/
|
flutter build web --release --web-renderer canvaskit --tree-shake-icons --base-href=/
|
||||||
tar -C build/web -czf app-web.tar.gz .
|
tar -C build/web -czf app-web.tar.gz .
|
||||||
|
|
||||||
- name: Upload Web artifact
|
- name: Upload Web artifact
|
||||||
|
|||||||
@@ -41,6 +41,12 @@ Mileograph is a Flutter client for logging and analysing railway journeys. It le
|
|||||||
```bash
|
```bash
|
||||||
flutter build apk --release
|
flutter build apk --release
|
||||||
```
|
```
|
||||||
|
- Web (release + CanvasKit renderer for best performance/icons):
|
||||||
|
```bash
|
||||||
|
flutter build web --release --web-renderer canvaskit --tree-shake-icons
|
||||||
|
# or for local profiling:
|
||||||
|
flutter run -d chrome --profile --web-renderer canvaskit
|
||||||
|
```
|
||||||
|
|
||||||
## Testing and linting
|
## Testing and linting
|
||||||
- Static analysis: `flutter analyze`
|
- Static analysis: `flutter analyze`
|
||||||
|
|||||||
Reference in New Issue
Block a user