diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index be9e732..765bf92 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 5cd6427..46dd3b5 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: