我有一个冲破碎的项目,它正在从Github的私人邮袋中挑选出一个包裹,例如:
dependencies:
flutter:
sdk: flutter
my_package:
git:
url: [email protected]:username/my_package.git
ref: main
当我用当地计算机操作flutter pub
时,所有东西都是罚款的,因为我用计算机通过扫描与Gite Hub相连接,但当我向Gitewell采取行动时,我未能用以下电文打包:。 专利(公用钥匙)代码>。 我理解错误的信息,我想知道,这样做和采取行动是否有更好的办法。
这里是Gite Hub行动稿:
name: Flutter
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/[email protected]
- name: Install Dependencies
run: flutter packages get
- name: Format
run: flutter format --set-exit-if-changed lib test
- name: Analyze
run: flutter analyze lib test
- name: Run tests
run: flutter test --no-pub --coverage --test-randomize-ordering-seed random