π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
use rust in gh actions internal releases
laurenspriemd7f88c189041
diff --git a/.github/workflows/mobile-daily-internal.yml b/.github/workflows/mobile-daily-internal.ymlindex e05600e312..0429b8c001 100644--- a/.github/workflows/mobile-daily-internal.yml+++ b/.github/workflows/mobile-daily-internal.yml@@ -38,6 +38,14 @@ jobs:flutter-version: ${{ env.FLUTTER_VERSION }}cache: true+ - name: Install Rust ${{ env.RUST_VERSION }}+ uses: dtolnay/rust-toolchain@master+ with:+ toolchain: ${{ env.RUST_VERSION }}++ - name: Install Flutter Rust Bridge+ run: cargo install flutter_rust_bridge_codegen+- name: Increment version code for buildrun: |CURRENT_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')diff --git a/.github/workflows/mobile-internal-release-rust.yml b/.github/workflows/mobile-internal-release-rust.ymldeleted file mode 100644index e5c85f1e37..0000000000--- a/.github/workflows/mobile-internal-release-rust.yml+++ /dev/null@@ -1,77 +0,0 @@-name: "Internal release (photos with rust)"--on:- workflow_dispatch: # Allow manually running the action--env:- FLUTTER_VERSION: "3.32.8"- RUST_VERSION: "1.85.1"--permissions:- contents: write--jobs:- build:- runs-on: ubuntu-latest-- defaults:- run:- working-directory: mobile/apps/photos-- steps:- - name: Checkout code and submodules- uses: actions/checkout@v4- with:- submodules: recursive-- - name: Setup JDK 17- uses: actions/setup-java@v1- with:- java-version: 17-- - name: Install Flutter ${{ env.FLUTTER_VERSION }}- uses: subosito/flutter-action@v2- with:- channel: "stable"- flutter-version: ${{ env.FLUTTER_VERSION }}- cache: true-- - name: Install Rust ${{ env.RUST_VERSION }}- uses: dtolnay/rust-toolchain@master- with:- toolchain: ${{ env.RUST_VERSION }}-- - name: Install Flutter Rust Bridge- run: cargo install flutter_rust_bridge_codegen-- - name: Setup keys- uses: timheuer/base64-to-file@v1- with:- fileName: "keystore/ente_photos_key.jks"- encodedString: ${{ secrets.SIGNING_KEY_PHOTOS }}-- - name: Build PlayStore AAB- run: |- flutter build appbundle --dart-define=cronetHttpNoPlay=true --release --flavor playstore- env:- SIGNING_KEY_PATH: "/home/runner/work/_temp/keystore/ente_photos_key.jks"- SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS_PHOTOS }}- SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD_PHOTOS }}- SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD_PHOTOS }}-- - name: Upload AAB to PlayStore- uses: r0adkll/upload-google-play@v1- with:- serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}- packageName: io.ente.photos- releaseFiles: mobile/apps/photos/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab- track: internal-- - name: Notify Discord- uses: sarisia/actions-status-discord@v1- with:- webhook: ${{ secrets.DISCORD_INTERNAL_RELEASE_WEBHOOK }}- nodetail: true- title: "π Internal release available for Photos"- description: "[Download](https://play.google.com/store/apps/details?id=io.ente.photos)"- color: 0x00ff00diff --git a/.github/workflows/mobile-internal-release.yml b/.github/workflows/mobile-internal-release.ymlindex 8ce8febf9f..43b2124cb8 100644--- a/.github/workflows/mobile-internal-release.yml+++ b/.github/workflows/mobile-internal-release.yml@@ -35,6 +35,14 @@ jobs:flutter-version: ${{ env.FLUTTER_VERSION }}cache: true+ - name: Install Rust ${{ env.RUST_VERSION }}+ uses: dtolnay/rust-toolchain@master+ with:+ toolchain: ${{ env.RUST_VERSION }}++ - name: Install Flutter Rust Bridge+ run: cargo install flutter_rust_bridge_codegen+- name: Setup keysuses: timheuer/base64-to-file@v1with: