Skip to content

Commit

Permalink
Create action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored May 28, 2024
1 parent d545826 commit 557ed8b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/actions/pre_build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'Pre Build Tail App builds'
description: 'Internal Action for Tail App'
runs:
using: "composite"
steps:
- name: Configure Flutter CLI
run: flutter config --no-cli-animations --enable-analytics --color
- name: Enable Flutter tools
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
run: flutter pub get --color
- name: Generate translation files
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
run: dart pub global run --color build_runner build --delete-conflicting-outputs

0 comments on commit 557ed8b

Please sign in to comment.