diff --git a/.github/workflows/android-release-metadata.yaml b/.github/workflows/android-release-metadata.yaml index cd3ea16528..0505a997ea 100644 --- a/.github/workflows/android-release-metadata.yaml +++ b/.github/workflows/android-release-metadata.yaml @@ -23,16 +23,6 @@ jobs: ref: master path: screenshots - # This symlink is not stored in the repo because Linter checks fail for the FDroid build. - # Linter complains about an invalid symlink (we don't check out screenshots for FDroid). - - name: Create symlink for GP screenshots - shell: bash - run: | - for locale in en-US tr-TR; do - mkdir -p android/src/google/play/listings/${locale}/graphics - ln -sf ../../../../../../screenshots/android/${locale}/graphics android/src/google/play/listings/${locale}/graphics - done - - name: Checkout private keys uses: actions/checkout@v3 with: diff --git a/android/build.gradle b/android/build.gradle index a6199ca8ae..9aab4e47f5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -464,6 +464,10 @@ task prepareGoogleReleaseListing { final overrideFile = new File(sourceFile.getPath().replace(".txt", "-${targetFlavor}.txt")) targetFile.text = overrideFile.exists() ? overrideFile.text : sourceFile.text } + copy { + from "${projectDir}/../screenshots/android" + into targetDir + } } }