diff --git a/.github/workflows/build_app.yml b/.github/workflows/build_app.yml index cbaccbe..e739e5f 100644 --- a/.github/workflows/build_app.yml +++ b/.github/workflows/build_app.yml @@ -81,20 +81,20 @@ jobs: set -e cp app/build/outputs/apk/standard/debug/app-standard-universal-debug.apk tachiyomi-r${{ env.COMMIT_COUNT }}.apk - md5=`md5sum tachiyomi-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` - echo "APK_UNIVERSAL_MD5=$md5" >> $GITHUB_ENV + sha=`sha256sum tachiyomi-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + 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 - md5=`md5sum tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` - echo "APK_ARM64_V8A_MD5=$md5" >> $GITHUB_ENV + sha=`sha256sum tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + 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 - md5=`md5sum tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` - echo "APK_ARMEABI_V7A_MD5=$md5" >> $GITHUB_ENV + sha=`sha256sum tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + 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 - md5=`md5sum tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` - echo "APK_X86_MD5=$md5" >> $GITHUB_ENV + sha=`sha256sum tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + echo "APK_X86_SHA=$sha" >> $GITHUB_ENV - name: Create release uses: softprops/action-gh-release@v1 @@ -102,18 +102,22 @@ jobs: tag_name: r${{ env.COMMIT_COUNT }} name: Tachiyomi Preview r${{ env.COMMIT_COUNT }} body: | - Commits: https://github.com/tachiyomiorg/tachiyomi/compare/${{ env.PREV_RELEASE_SHA }}...${{ env.CURRENT_SHA }} + ### Commits - --- + https://github.com/tachiyomiorg/tachiyomi/compare/${{ env.PREV_RELEASE_SHA }}...${{ env.CURRENT_SHA }} ${{ env.COMMIT_LOGS }} --- - MD5 (universal): ${{ env.APK_UNIVERSAL_MD5 }} - MD5 (arm64-v8a): ${{ env.APK_ARM64_V8A_MD5 }} - MD5 (armeabi-v7a): ${{ env.APK_ARMEABI_V7A_MD5 }} - MD5 (x86): ${{ env.APK_X86_MD5 }} + ### Hashes + + | Variant | SHA256 | + | ------- | ------ | + | Universal | ${{ env.APK_UNIVERSAL_SHA }} + | arm64-v8a | ${{ env.APK_ARM64_V8A_SHA }} + | armeabi-v7a | ${{ env.APK_ARMEABI_V7A_SHA }} + | x86 | ${{ env.APK_X86_SHA }} | files: | tachiyomi-r${{ env.COMMIT_COUNT }}.apk tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk