mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2024-12-28 03:48:23 +01:00
Update build target
This commit is contained in:
parent
f591158c09
commit
31e903257f
10
.github/workflows/build_app.yml
vendored
10
.github/workflows/build_app.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
|||||||
- name: Build APK
|
- name: Build APK
|
||||||
uses: gradle/gradle-command-action@v1
|
uses: gradle/gradle-command-action@v1
|
||||||
with:
|
with:
|
||||||
arguments: assembleStandardDebug
|
arguments: assembleStandardPreview
|
||||||
distributions-cache-enabled: true
|
distributions-cache-enabled: true
|
||||||
dependencies-cache-enabled: true
|
dependencies-cache-enabled: true
|
||||||
configuration-cache-enabled: true
|
configuration-cache-enabled: true
|
||||||
@ -80,19 +80,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cp app/build/outputs/apk/standard/debug/app-standard-universal-debug.apk tachiyomi-r${{ env.COMMIT_COUNT }}.apk
|
cp app/build/outputs/apk/standard/preview/app-standard-universal-preview.apk tachiyomi-r${{ env.COMMIT_COUNT }}.apk
|
||||||
sha=`sha256sum tachiyomi-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
sha=`sha256sum tachiyomi-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
||||||
echo "APK_UNIVERSAL_SHA=$sha" >> $GITHUB_ENV
|
echo "APK_UNIVERSAL_SHA=$sha" >> $GITHUB_ENV
|
||||||
|
|
||||||
cp app/build/outputs/apk/standard/debug/app-standard-arm64-v8a-debug.apk tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk
|
cp app/build/outputs/apk/standard/preview/app-standard-arm64-v8a-preview.apk tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk
|
||||||
sha=`sha256sum tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
sha=`sha256sum tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
||||||
echo "APK_ARM64_V8A_SHA=$sha" >> $GITHUB_ENV
|
echo "APK_ARM64_V8A_SHA=$sha" >> $GITHUB_ENV
|
||||||
|
|
||||||
cp app/build/outputs/apk/standard/debug/app-standard-armeabi-v7a-debug.apk tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk
|
cp app/build/outputs/apk/standard/preview/app-standard-armeabi-v7a-preview.apk tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk
|
||||||
sha=`sha256sum tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
sha=`sha256sum tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
||||||
echo "APK_ARMEABI_V7A_SHA=$sha" >> $GITHUB_ENV
|
echo "APK_ARMEABI_V7A_SHA=$sha" >> $GITHUB_ENV
|
||||||
|
|
||||||
cp app/build/outputs/apk/standard/debug/app-standard-x86-debug.apk tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk
|
cp app/build/outputs/apk/standard/preview/app-standard-x86-preview.apk tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk
|
||||||
sha=`sha256sum tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
sha=`sha256sum tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
|
||||||
echo "APK_X86_SHA=$sha" >> $GITHUB_ENV
|
echo "APK_X86_SHA=$sha" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user