From c1df8e3c1400a72ea0146b9c99f0c53511615fec Mon Sep 17 00:00:00 2001 From: Damiano Ferrari Date: Sat, 4 May 2024 15:31:22 +0200 Subject: [PATCH] Scripts cleanup --- .github/workflows/build_deploy.yml | 4 ---- melos.yaml | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index be9e7321..765bf927 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -32,7 +32,6 @@ jobs: - name: Bootstrap run: | dart pub global activate melos - dart pub global activate vector_graphics_compiler melos bootstrap - name: Download Android keystore @@ -111,7 +110,6 @@ jobs: - name: Bootstrap run: | dart pub global activate melos - dart pub global activate vector_graphics_compiler melos bootstrap - name: Build for linux @@ -163,7 +161,6 @@ jobs: - name: Bootstrap run: | dart pub global activate melos - dart pub global activate vector_graphics_compiler melos bootstrap # Force canvaskit because of the bug with svg on html @@ -200,7 +197,6 @@ jobs: - name: Install required dart tools run: | dart pub global activate melos - dart pub global activate vector_graphics_compiler - name: Generate optimized icons (workaround for a bug of melos on Windows) run: | diff --git a/melos.yaml b/melos.yaml index 5cd6427e..46dd3b53 100644 --- a/melos.yaml +++ b/melos.yaml @@ -20,9 +20,9 @@ scripts: description: Run `flutter analyze` in all packages compile_icons: - run: | - dart run vector_graphics_compiler --input-dir assets/app_icons - dart run vector_graphics_compiler --input-dir assets/property_icons + steps: + - dart run vector_graphics_compiler --input-dir assets/app_icons + - dart run vector_graphics_compiler --input-dir assets/property_icons description: Optimizes the svg icons. format: