Skip to content

Commit 3118f8b

Browse files
committed
add Set up Flutter step
1 parent c91aa09 commit 3118f8b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/firebase-hosting-merge.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ jobs:
1010
build_and_deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13-
1413
- uses: actions/checkout@v3
14+
- name: Set up Flutter
15+
uses: subosito/flutter-action@v2
16+
with:
17+
flutter-version: '3.19.0'
1518
- run: flutter build web
1619
- uses: FirebaseExtended/action-hosting-deploy@v0
1720
with:

.github/workflows/firebase-hosting-pull-request.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ jobs:
88
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Set Up Flutter
11+
- uses: actions/checkout@v3
12+
13+
- name: Set Up Flutter
1214
uses: subosito/flutter-action@v2
1315
with:
1416
flutter-version: '3.19.0'
1517
channel: 'stable'
16-
- uses: actions/checkout@v3
1718
- run: flutter build web
1819
- uses: FirebaseExtended/action-hosting-deploy@v0
1920
with:

0 commit comments

Comments
 (0)