Emit overrides line by line

This commit is contained in:
Simon Binder 2022-08-14 17:37:18 +02:00
parent 69afd481fe
commit d9f342a180
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 4 additions and 11 deletions

View File

@ -70,18 +70,11 @@ jobs:
- run: dart pub upgrade
- name: Get dependencies for plugin
run: |
echo $pub_override > pubspec_overrides.yaml
echo "dependency_overrides:" >> pubspec_overrides.yaml
echo " drift: {path: ../../}" >> pubspec_overrides.yaml
echo " drift_dev: {path: ../../../drift_dev}" >> pubspec_overrides.yaml
echo " sqlparser: {path: ../../../sqlparser}" >> pubspec_overrides.yaml
dart pub get
env:
pub_override: |
dependency_overrides:
drift:
path: ../../
drift_dev:
path: ../../../drift_dev
sqlparser:
path: ../../../sqlparser
working-directory: drift/tools/analyzer_plugin
# analysis
- run: dart format -o none --set-exit-if-changed .