Skip to content

Commit 6c1afa4

Browse files
committed
chore:fix flutter version 1.20.1 build error
This application cannot tree shake icons fonts. It has non-constant instances of IconData at the following locations:
1 parent 639ac45 commit 6c1afa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
channel: 'stable' # or: 'dev' or 'beta'
2727
- run: flutter pub get
2828
- run: flutter test
29-
- run: flutter build apk --release
29+
- run: flutter build apk --release --no-tree-shake-icons
3030
- uses: actions/upload-artifact@v2
3131
with:
3232
path: build/app/outputs/apk/release/*.apk

0 commit comments

Comments
 (0)