我曾尝试使用颤振操作设置 CI/CD,但是当我提交代码和操作运行时,它会出现此错误:
我的飞镖.yml
name: Dart
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- name: Flutter action
uses: subosito/flutter-action@v1.5.3
with:
flutter-version: '2.2.2'
channel: stable
- run: flutter config --enable-windows-desktop
- run: flutter build windows
- run: flutter pub get
- run: flutter test
- run: flutter build apk
任何帮助将不胜感激。