Skip to content

Commit

Permalink
add ci language_translate
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jun 6, 2023
1 parent 3c5dccc commit 769d9e7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/translate_language.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Translate Language
on: [workflow_dispatch]

jobs:
build:
name: Translate Language @azkadev
runs-on: ubuntu-latest
env:
DEBIAN_FRONTEND: noninteractive
GITHUB_TOKEN: ${{ secrets.TOKEN }}

steps:
- name: Export Release Timestamp
run: echo "APP_VERSION=v$(date +'%Y.%m.%d.%H.%M.%S')" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.10.0"
channel: "stable"
- name: Translate
run: |
dart run bin/generate_language_scheme.dart
- name: Update repo
run: |
git config --global user.email "you@example.com"
git config --global user.name "Azkadev"
git add .
git commit -m "update: language"
git push

0 comments on commit 769d9e7

Please sign in to comment.