Browse Source

Remove workaround - NDK used for build is already available on runners

Ivan Savenko 2 weeks ago
parent
commit
d1028bfa05
1 changed files with 0 additions and 16 deletions
  1. 0 16
      .github/workflows/github.yml

+ 0 - 16
.github/workflows/github.yml

@@ -233,22 +233,6 @@ jobs:
       if: ${{ startsWith(matrix.platform, 'android') }}
       run: mkdir -p ~/.gradle && echo "android.bundle.enableUncompressedNativeLibs=true" > ~/.gradle/gradle.properties
 
-    # Workaround for gradle not discovering SDK that was installed via Сonan
-    - name: Link Android NDK from Conan cache to Android SDK path
-      if: ${{ startsWith(matrix.platform, 'android') }}
-      run: |
-        ndkPackage='android-ndk'
-        hexRegex='[[:xdigit:]]+'
-
-        ndkPackageRevision=$(conan list "$ndkPackage/*:*" --format=compact \
-          | egrep --only-matching "$ndkPackage/\\w+#$hexRegex:$hexRegex")
-        ndkPackagePath=$(conan cache path "$ndkPackageRevision")
-
-        # format: Pkg.Revision = 25.2.9519653
-        ndkPath="$ndkPackagePath/bin"
-        ndkVersion=$(fgrep 'Pkg.Revision' "$ndkPath/source.properties" | cut -d ' ' -f 3)
-        ln -s -T "$ndkPath" "$ANDROID_HOME/ndk/$ndkVersion"
-
     - name: Install Java
       uses: actions/setup-java@v5
       if: ${{ startsWith(matrix.platform, 'android') }}