Skip to content

Commit

Permalink
fix: update github actions to use Flutters version of Dart. (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
slightfoot authored Oct 7, 2023
1 parent d412c07 commit b8e36fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: dart pub global activate webdev && webdev build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: dart pub global activate webdev && webdev build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ or you use devtools [Debugging Web Info](https://dart.dev/web/debugging)
## Build and Deploy

```sh
jasper build
webdev build
firebase deploy
```

0 comments on commit b8e36fd

Please sign in to comment.