Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use runner Rust in mobile release workflows

Manav Rathi973019b9a617
diff --git a/.github/workflows/locker-internal-release.yml b/.github/workflows/locker-internal-release.yml
index ead23ff9f5..ab7e25d63c 100644
--- a/.github/workflows/locker-internal-release.yml
+++ b/.github/workflows/locker-internal-release.yml
@@ -5,7 +5,6 @@ on:
env:
FLUTTER_VERSION: "3.38.10"
- RUST_VERSION: "1.90.0"
permissions:
contents: write
@@ -34,12 +33,6 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- - name: Install Rust ${{ env.RUST_VERSION }}
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
- with:
- toolchain: ${{ env.RUST_VERSION }}
- components: rustfmt
-
- name: Generate strings localizations
run: flutter gen-l10n
working-directory: mobile/packages/strings
diff --git a/.github/workflows/locker-release.yml b/.github/workflows/locker-release.yml
index 05d737f330..b167f9f441 100644
--- a/.github/workflows/locker-release.yml
+++ b/.github/workflows/locker-release.yml
@@ -10,7 +10,6 @@ on:
env:
FLUTTER_VERSION: "3.38.10"
- RUST_VERSION: "1.90.0"
permissions:
contents: write
@@ -71,12 +70,6 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- - name: Install Rust ${{ env.RUST_VERSION }}
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
- with:
- toolchain: ${{ env.RUST_VERSION }}
- components: rustfmt
-
- name: Generate strings localizations
run: flutter gen-l10n
working-directory: mobile/packages/strings
diff --git a/.github/workflows/mobile-daily-internal.yml b/.github/workflows/mobile-daily-internal.yml
index c1d22e5f60..e1de913adc 100644
--- a/.github/workflows/mobile-daily-internal.yml
+++ b/.github/workflows/mobile-daily-internal.yml
@@ -8,7 +8,6 @@ on:
env:
FLUTTER_VERSION: "3.38.10"
- RUST_VERSION: "1.90.0"
permissions:
contents: read
@@ -48,21 +47,6 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- - name: Install Rust ${{ env.RUST_VERSION }}
- uses: dtolnay/rust-toolchain@stable
- with:
- toolchain: ${{ env.RUST_VERSION }}
-
- # Cargokit resolves the toolchain as "stable" rather than the
- # pinned Rust version used in CI. Our vendored Cargokit now
- # serializes `rustup target add` per target, so this pre-install
- # is no longer required for correctness. We still do it for now
- # to keep the setup straightforward, and because this step may
- # become more useful if we later cache Rust toolchain state.
- - name: Pre-install Android Rust targets
- run: |
- rustup target add --toolchain stable armv7-linux-androideabi aarch64-linux-android
-
- name: Resolve dependencies with lockfile enforcement
run: flutter pub get --enforce-lockfile
diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.yml
index 5dd71f6300..c527cca92e 100644
--- a/.github/workflows/mobile-release.yml
+++ b/.github/workflows/mobile-release.yml
@@ -10,7 +10,6 @@ on:
env:
FLUTTER_VERSION: "3.38.10"
- RUST_VERSION: "1.90.0"
permissions:
contents: write
@@ -71,11 +70,6 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- - name: Install Rust ${{ env.RUST_VERSION }}
- uses: dtolnay/rust-toolchain@stable
- with:
- toolchain: ${{ env.RUST_VERSION }}
-
- name: Resolve dependencies with lockfile enforcement
run: flutter pub get --enforce-lockfile