ci: install correct Rust toolchain also for the release action

This commit is contained in:
Tien Do Nam
2024-11-07 20:37:23 +01:00
parent eef02aac65
commit 9a97584137
+7
View File
@@ -5,6 +5,7 @@ on:
env:
FLUTTER_VERSION: "3.24.4"
RUST_VERSION: "1.82.0"
APK_BUILD_DIR: "/tmp/build"
jobs:
@@ -61,6 +62,12 @@ jobs:
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: ${{ env.RUST_VERSION }}
- name: Dependencies
working-directory: ${{ env.APK_BUILD_DIR }}/app
run: flutter pub get