From 40f4254dcb01b17d938714de2aa4ffeb46ee2048 Mon Sep 17 00:00:00 2001 From: Code-Floof <13484789+Codel1417@users.noreply.github.com> Date: Mon, 27 May 2024 23:01:02 -0400 Subject: [PATCH] Update action.yml --- .github/actions/pre_build/action.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/actions/pre_build/action.yml b/.github/actions/pre_build/action.yml index bf60542b..51bdf337 100644 --- a/.github/actions/pre_build/action.yml +++ b/.github/actions/pre_build/action.yml @@ -1,18 +1,21 @@ name: 'Pre Build Tail App builds' description: 'Internal Action for Tail App' -defaults: - run: - shell: bash + runs: using: "composite" steps: - name: Configure Flutter CLI + shell: bash run: flutter config --no-cli-animations --enable-analytics --color - name: Enable Flutter tools + shell: bash run: dart pub global activate flutter_gen --color && dart pub global activate intl_translation --color && dart pub global activate build_runner --color - name: Get dependencies + shell: bash run: flutter pub get --color - name: Generate translation files + shell: bash run: dart pub global run --color intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/Frontend/intn_defs.dart lib/l10n/*.arb - name: Generate dart .g files + shell: bash run: dart pub global run --color build_runner build --delete-conflicting-outputs