forked from eatvio/eatvio_app
ci(build): fix dir permissions and disable sunset warning
This commit is contained in:
@@ -31,15 +31,16 @@ jobs:
|
||||
pub-cache-key: 'flutter-pub:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache of dart pub get dependencies
|
||||
pub-cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
|
||||
|
||||
- run: |
|
||||
flutter --version
|
||||
- name: fix dir permissions
|
||||
run: |
|
||||
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.19.0-x64
|
||||
flutter --version
|
||||
|
||||
- name: Get dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Run Code Metrics
|
||||
run: flutter pub run dart_code_metrics:metrics lib
|
||||
run: flutter pub run dart_code_metrics:metrics lib --disable-sunset-warning
|
||||
|
||||
# - name: Build apk
|
||||
# run: flutter build apk
|
||||
|
||||
Reference in New Issue
Block a user