This commit is contained in:
xkeyC
2024-03-17 18:53:15 +08:00
committed by GitHub
parent a027f54210
commit e5001eb804

View File

@ -9,6 +9,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Flutter msbuild
uses: microsoft/setup-msbuild@v2
- name: Set up Flutter
uses: subosito/flutter-action@v2.12.0
with:
@ -27,12 +29,18 @@ jobs:
version: "17.0.2"
- name: Flutter pub get
run: flutter pub get
- name: Rust cargo update
run: cargo update
working-directory: rust
- name: Set up cargp expand
run: cargo install cargo-expand
- name: Set up Flutter rust bridge
run: cargo install 'flutter_rust_bridge_codegen@^2.0.0-dev.0'
- name: Rust bridge generate
run: flutter_rust_bridge_codegen generate
- name: flutter gen l10n
run: flutter pub run intl_utils:generate
run: flutter pub add intl_utils
- run: flutter pub run intl_utils:generate
- name: Flutter build Windows
run: flutter build windows
- name: Archive build