Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /