From b85a516f2b9fc268ba26b099836f5e74bd5e32b4 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sun, 28 Aug 2022 12:03:32 +0200 Subject: [PATCH] Add APK output for x86_64 CPU architecture --- .github/workflows/build_push.yml | 6 ++++++ app/build.gradle.kts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 8c725647cc..0d3f8a6491 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 b02d075bad..595b7d1d95 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"