Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to start web build #22

Closed
yaoyiqun opened this issue Feb 17, 2020 · 1 comment
Closed

how to start web build #22

yaoyiqun opened this issue Feb 17, 2020 · 1 comment

Comments

@yaoyiqun
Copy link

when i use this to build flutter for web in stable, here is the error.
jobs:
build:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: flutter pub get
- run: flutter test
- run: flutter config --enable-web
- run: flutter build web

Run flutter config --enable-web1s
You may need to restart any open editors for them to read new settings.
Run flutter config --enable-web
Setting "enable-web" value to "true".
You may need to restart any open editors for them to read new settings.

Run flutter build web2s
##[error]Process completed with exit code 1.
Run flutter build web
flutter build web
shell: /bin/bash -e {0}
env:
JAVA_HOME: /opt/hostedtoolcache/jdk/12.0.2/x64
JAVA_HOME_12.0.2_x64: /opt/hostedtoolcache/jdk/12.0.2/x64
FLUTTER_HOME: /opt/hostedtoolcache/flutter/1.12.13-hotfix.8-stable/x64
Downloading Web SDK... 0.5s
"build web" is not currently supported.
##[error]Process completed with exit code 1.

@yaoyiqun
Copy link
Author

i know the reason , change channel to beta can solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant