diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 8c725647c..588d199a0 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -71,6 +71,10 @@ jobs: cp app/build/outputs/apk/standard/release/app-standard-x86-release-unsigned-signed.apk tachiyomi-x86-${{ env.VERSION_TAG }}.apk sha=`sha256sum tachiyomi-x86-${{ env.VERSION_TAG }}.apk | awk '{ print $1 }'` echo "APK_X86_SHA=$sha" >> $GITHUB_ENV + + cp app/build/outputs/apk/standard/release/app-standard-x86_64-release-unsigned-signed.apk tachiyomi-x86_64-${{ env.VERSION_TAG }}.apk + sha=`sha256sum tachiyomi-x86_64-${{ env.VERSION_TAG }}.apk | awk '{ print $1 }'` + echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV - name: Create Release if: startsWith(github.ref, 'refs/tags/') && github.repository == 'tachiyomiorg/tachiyomi' @@ -89,11 +93,13 @@ jobs: | arm64-v8a | ${{ env.APK_ARM64_V8A_SHA }} | armeabi-v7a | ${{ env.APK_ARMEABI_V7A_SHA }} | x86 | ${{ env.APK_X86_SHA }} | + | x86_64 | ${{ env.APK_X86_64_SHA }} | files: | tachiyomi-${{ env.VERSION_TAG }}.apk tachiyomi-arm64-v8a-${{ env.VERSION_TAG }}.apk tachiyomi-armeabi-v7a-${{ env.VERSION_TAG }}.apk tachiyomi-x86-${{ env.VERSION_TAG }}.apk + tachiyomi-x86_64-${{ env.VERSION_TAG }}.apk draft: true prerelease: false env: diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b02d075ba..595b7d1d9 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,7 +16,7 @@ if (gradle.startParameter.taskRequests.toString().contains("Standard")) { shortcutHelper.setFilePath("./shortcuts.xml") -val SUPPORTED_ABIS = setOf("armeabi-v7a", "arm64-v8a", "x86") +val SUPPORTED_ABIS = setOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64") android { namespace = "eu.kanade.tachiyomi" diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/updater/GithubRelease.kt b/app/src/main/java/eu/kanade/tachiyomi/data/updater/GithubRelease.kt index 2d3b2e632..1d02058fd 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/updater/GithubRelease.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/updater/GithubRelease.kt @@ -23,7 +23,8 @@ data class GithubRelease( val apkVariant = when (Build.SUPPORTED_ABIS[0]) { "arm64-v8a" -> "-arm64-v8a" "armeabi-v7a" -> "-armeabi-v7a" - "x86", "x86_64" -> "-x86" + "x86" -> "-x86" + "x86_64" -> "-x86_64" else -> "" }