docs: Improve Flutter example (#189)
This commit is contained in:
parent
e31acce9d3
commit
2ea85f7322
12
README.md
12
README.md
|
@ -800,14 +800,8 @@ jobs:
|
||||||
### ⭐️ Flutter Web
|
### ⭐️ Flutter Web
|
||||||
|
|
||||||
An exapmle workflow for [Flutter web project].
|
An exapmle workflow for [Flutter web project].
|
||||||
Setup [Flutter] with [subosito/flutter-action].
|
|
||||||
|
|
||||||
[peanut | Dart Package] is also useful.
|
|
||||||
|
|
||||||
[Flutter]: https://github.com/flutter/flutter
|
|
||||||
[Flutter web project]: https://flutter.dev/docs/get-started/web
|
[Flutter web project]: https://flutter.dev/docs/get-started/web
|
||||||
[subosito/flutter-action]: https://github.com/subosito/flutter-action
|
|
||||||
[peanut | Dart Package]: https://pub.dev/packages/peanut
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: github pages
|
name: github pages
|
||||||
|
@ -824,9 +818,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: subosito/flutter-action@v1
|
run: |
|
||||||
with:
|
git clone https://github.com/flutter/flutter.git --depth 1 -b beta _flutter
|
||||||
channel: 'beta'
|
echo "::add-path::${GITHUB_WORKSPACE}/_flutter/bin"
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue