diff --git a/.github/workflows/auth-crowdin-push.yml b/.github/workflows/auth-crowdin-push.yml index 4cefb1d1c6..74c5ef808f 100644 --- a/.github/workflows/auth-crowdin-push.yml +++ b/.github/workflows/auth-crowdin-push.yml @@ -24,8 +24,8 @@ jobs: - name: Crowdin's action uses: crowdin/github-action@v2 with: - base_path: "auth/" - config: "auth/crowdin.yml" + base_path: "mobile/apps/auth/" + config: "mobile/apps/auth/crowdin.yml" upload_sources: true upload_translations: false download_translations: false diff --git a/.github/workflows/auth-crowdin-sync.yml b/.github/workflows/auth-crowdin-sync.yml index 695aea7245..477b62cf44 100644 --- a/.github/workflows/auth-crowdin-sync.yml +++ b/.github/workflows/auth-crowdin-sync.yml @@ -23,8 +23,8 @@ jobs: - name: Crowdin's action uses: crowdin/github-action@v2 with: - base_path: "auth/" - config: "auth/crowdin.yml" + base_path: "mobile/apps/auth/" + config: "mobile/apps/auth/crowdin.yml" upload_sources: true upload_translations: false download_translations: true diff --git a/.github/workflows/auth-internal-release.yml b/.github/workflows/auth-internal-release.yml index 9668e0e336..13f6310cef 100644 --- a/.github/workflows/auth-internal-release.yml +++ b/.github/workflows/auth-internal-release.yml @@ -15,7 +15,7 @@ jobs: defaults: run: - working-directory: auth + working-directory: mobile/apps/auth steps: - name: Checkout code and submodules @@ -55,7 +55,7 @@ jobs: with: serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} packageName: io.ente.auth - releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab + releaseFiles: mobile/apps/auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab track: internal - name: Notify Discord diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.yml index e48317d59f..34e5ff8a78 100644 --- a/.github/workflows/auth-lint.yml +++ b/.github/workflows/auth-lint.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: auth + working-directory: mobile/apps/auth steps: - name: Checkout code and submodules uses: actions/checkout@v4 diff --git a/.github/workflows/auth-release.yml b/.github/workflows/auth-release.yml index 97d079a681..d8c9f4e1cc 100644 --- a/.github/workflows/auth-release.yml +++ b/.github/workflows/auth-release.yml @@ -40,7 +40,7 @@ jobs: defaults: run: - working-directory: auth + working-directory: mobile/apps/auth steps: - name: Checkout code and submodules @@ -124,7 +124,7 @@ jobs: - name: Create a draft GitHub release uses: ncipollo/release-action@v1 with: - artifacts: "auth/artifacts/*" + artifacts: "mobile/apps/auth/artifacts/*" draft: true allowUpdates: true updateOnlyUnreleased: true @@ -136,7 +136,7 @@ jobs: with: serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} packageName: io.ente.auth - releaseFiles: auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab + releaseFiles: mobile/apps/auth/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab track: internal build-windows: @@ -145,7 +145,7 @@ jobs: defaults: run: - working-directory: auth + working-directory: mobile/apps/auth steps: - name: Checkout code and submodules @@ -185,8 +185,8 @@ jobs: trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }} certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }} files: | - ${{ github.workspace }}/auth/artifacts/ente-${{ github.ref_name }}-installer.exe - ${{ github.workspace }}/auth/ente-${{ github.ref_name }}-windows/auth.exe + ${{ github.workspace }}/mobile/apps/auth/artifacts/ente-${{ github.ref_name }}-installer.exe + ${{ github.workspace }}/mobile/apps/auth/ente-${{ github.ref_name }}-windows/auth.exe file-digest: SHA256 timestamp-rfc3161: http://timestamp.acs.microsoft.com timestamp-digest: SHA256 @@ -201,7 +201,7 @@ jobs: - name: Create a draft GitHub release uses: ncipollo/release-action@v1 with: - artifacts: "auth/artifacts/*" + artifacts: "mobile/apps/auth/artifacts/*" draft: true allowUpdates: true updateOnlyUnreleased: true @@ -211,7 +211,7 @@ jobs: defaults: run: - working-directory: auth + working-directory: mobile/apps/auth steps: - name: Checkout code and submodules @@ -298,7 +298,7 @@ jobs: - name: Create a draft GitHub release uses: ncipollo/release-action@v1 with: - artifacts: "auth/artifacts/*" + artifacts: "mobile/apps/auth/artifacts/*" draft: true allowUpdates: true updateOnlyUnreleased: true diff --git a/.github/workflows/auth-win-sign.yml b/.github/workflows/auth-win-sign.yml index 860cde2ca2..2793f5a98e 100644 --- a/.github/workflows/auth-win-sign.yml +++ b/.github/workflows/auth-win-sign.yml @@ -17,7 +17,7 @@ jobs: defaults: run: - working-directory: auth + working-directory: mobile/apps/auth steps: - name: Checkout code and submodules @@ -57,8 +57,8 @@ jobs: trusted-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }} certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }} files: | - ${{ github.workspace }}/auth/artifacts/ente-${{ github.ref_name }}-installer.exe - ${{ github.workspace }}/auth/ente-${{ github.ref_name }}-windows/auth.exe + ${{ github.workspace }}/mobile/apps/auth/artifacts/ente-${{ github.ref_name }}-installer.exe + ${{ github.workspace }}/mobile/apps/auth/apps/auth/ente-${{ github.ref_name }}-windows/auth.exe file-digest: SHA256 timestamp-rfc3161: http://timestamp.acs.microsoft.com timestamp-digest: SHA256 diff --git a/.github/workflows/mobile-crowdin-push.yml b/.github/workflows/mobile-crowdin-push.yml index e8b219d5c7..972a13bd6b 100644 --- a/.github/workflows/mobile-crowdin-push.yml +++ b/.github/workflows/mobile-crowdin-push.yml @@ -5,7 +5,7 @@ on: branches: [main] paths: # Run workflow when mobiles's intl_en.arb is changed - - "mobile/lib/l10n/intl_en.arb" + - "mobile/apps/photos/lib/l10n/intl_en.arb" # Or the workflow itself is changed - ".github/workflows/mobile-crowdin.yml" @@ -24,8 +24,8 @@ jobs: - name: Crowdin's action uses: crowdin/github-action@v2 with: - base_path: "mobile/" - config: "mobile/crowdin.yml" + base_path: "mobile/apps/photos/" + config: "mobile/apps/photos/crowdin.yml" upload_sources: true upload_translations: false download_translations: false diff --git a/.github/workflows/mobile-crowdin-sync.yml b/.github/workflows/mobile-crowdin-sync.yml index f064105331..60b87fbb4b 100644 --- a/.github/workflows/mobile-crowdin-sync.yml +++ b/.github/workflows/mobile-crowdin-sync.yml @@ -1,4 +1,4 @@ -name: "Sync Crowdin translations (mobile)" +name: "Sync Crowdin translations (mobile/photos)" on: schedule: @@ -23,14 +23,14 @@ jobs: - name: Crowdin's action uses: crowdin/github-action@v2 with: - base_path: "mobile/" - config: "mobile/crowdin.yml" + base_path: "mobile/apps/photos/" + config: "mobile/apps/photos/crowdin.yml" upload_sources: true upload_translations: false download_translations: true localization_branch_name: translations/mobile create_pull_request: true - pull_request_title: "[mobile] New translations" + pull_request_title: "[mobile/photos] New translations" pull_request_body: "New translations from [Crowdin](https://crowdin.com/project/ente-photos-app)" pull_request_base_branch_name: "main" project_id: 574741 diff --git a/.github/workflows/mobile-internal-release-rust.yml b/.github/workflows/mobile-internal-release-rust.yml index aa254f2268..28c93d8618 100644 --- a/.github/workflows/mobile-internal-release-rust.yml +++ b/.github/workflows/mobile-internal-release-rust.yml @@ -16,7 +16,7 @@ jobs: defaults: run: - working-directory: mobile + working-directory: mobile/apps/photos steps: - name: Checkout code and submodules @@ -64,7 +64,7 @@ jobs: with: serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} packageName: io.ente.photos - releaseFiles: mobile/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab + releaseFiles: mobile/apps/photos/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab track: internal - name: Notify Discord diff --git a/.github/workflows/mobile-internal-release.yml b/.github/workflows/mobile-internal-release.yml index f1d5724f97..1a689d3785 100644 --- a/.github/workflows/mobile-internal-release.yml +++ b/.github/workflows/mobile-internal-release.yml @@ -15,7 +15,7 @@ jobs: defaults: run: - working-directory: mobile + working-directory: mobile/apps/photos steps: - name: Checkout code and submodules @@ -55,7 +55,7 @@ jobs: with: serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} packageName: io.ente.photos - releaseFiles: mobile/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab + releaseFiles: mobile/apps/photos/build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab track: internal - name: Notify Discord diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml index f404c5a65a..f0944416b5 100644 --- a/.github/workflows/mobile-lint.yml +++ b/.github/workflows/mobile-lint.yml @@ -4,7 +4,7 @@ on: # Run on every pull request (open or push to it) that changes mobile/ pull_request: paths: - - "mobile/**" + - "mobile/apps/photos/**" - ".github/workflows/mobile-lint.yml" env: @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: mobile + working-directory: mobile/apps/photos steps: - name: Checkout code and submodules uses: actions/checkout@v4 diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.yml index e15cd937e9..d0466f3b49 100644 --- a/.github/workflows/mobile-release.yml +++ b/.github/workflows/mobile-release.yml @@ -20,7 +20,7 @@ jobs: defaults: run: - working-directory: mobile + working-directory: mobile/apps/photos steps: - name: Checkout code and submodules @@ -62,5 +62,5 @@ jobs: - name: Create a draft GitHub release uses: ncipollo/release-action@v1 with: - artifacts: "mobile/build/app/outputs/flutter-apk/ente-${{ github.ref_name }}.apk,mobile/build/app/outputs/flutter-apk/sha256sum" + artifacts: "mobile/apps/photos/build/app/outputs/flutter-apk/ente-${{ github.ref_name }}.apk,mobile/apps/photos/build/app/outputs/flutter-apk/sha256sum" draft: true