Skip to content

Commit 271210a

Browse files
committed
revert flutter action version to support web
1 parent 59db85d commit 271210a

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

.github/workflows/main.yml

+8-24
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
name: CI
1+
name: build
22

3-
# Controls when the action will run. Triggers the workflow on push or pull request
4-
# events but only for the master branch
53
on:
64
push:
75
branches: [ master ]
86
pull_request:
97
branches: [ master ]
108

11-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
129
jobs:
1310
build:
1411
name: build on ${{ matrix.os }}
@@ -17,31 +14,18 @@ jobs:
1714
matrix:
1815
os: [macos-latest, ubuntu-latest, windows-latest]
1916

20-
# Steps represent a sequence of tasks that will be executed as part of the job
2117
steps:
22-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23-
- uses: actions/checkout@v2
24-
25-
- name: Repo action
26-
run: echo repository is ready!
27-
28-
- name: Flutter ENV action
29-
uses: subosito/[email protected]
18+
- uses: actions/checkout@v1
19+
- uses: subosito/flutter-action@v1
3020
with:
31-
flutter-version: '1.12.13+hotfix.5'
21+
flutter-version: '1.12.x'
3222
channel: 'beta'
3323

34-
- name: Flutter web build action
24+
- run: flutter config --enable-web
25+
- name: Flutter web build
3526
working-directory: workflow
3627
run: |
37-
flutter config --enable-web
3828
flutter pub get
3929
flutter build web
40-
41-
- name: Server build action
42-
run: |
43-
echo TODO
44-
45-
- name: CLI build action
46-
run: |
47-
echo TODO
30+
- run: echo TODO Server build action
31+
- run: echo TODO CLI build action

0 commit comments

Comments
 (0)