Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored May 28, 2024
1 parent 087b1e6 commit 40f4254
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/actions/pre_build/action.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40f4254

Please sign in to comment.