Skip to content

An open-source cross-platform alternative to AirDrop

ci: install correct Rust toolchain also for the release action

Tien Do Nam9a9758413786
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 41a8cc2b..49d8ab23 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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