Update android.publish.yml

Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com>
This commit is contained in:
Ammar Ahmed
2024-01-31 13:00:23 +05:00
committed by GitHub
parent 24f2ac6f05
commit 6596211d4f

View File

@@ -36,9 +36,32 @@ jobs:
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.11
with:
key: ${{ runner.os }}-ccache-${{ hashFiles(format('apps/mobile/native/package.json')) }}
restore-keys: |
${{ runner.os }}-ccache-
- name: Setup ccache
run: |
ln -s $(which ccache) /usr/local/bin/gcc
ln -s $(which ccache) /usr/local/bin/g++
ln -s $(which ccache) /usr/local/bin/cc
ln -s $(which ccache) /usr/local/bin/c++
ln -s $(which ccache) /usr/local/bin/clang
ln -s $(which ccache) /usr/local/bin/clang++
export NDK_CCACHE=/usr/local/bin/ccache
- name: CCache Stats
run: ccache -s -v
- name: Build unsigned app bundle
run: yarn release:android:bundle
- name: CCache Stats after build
run: cache -s -v
# - name: Sign app bundle for Playstore release
# id: sign_app
# uses: r0adkll/sign-android-release@master
@@ -62,8 +85,8 @@ jobs:
# status: completed
# whatsNewDirectory: apps/mobile/native/android/releasenotes/
- name: Build apks for Github release
run: yarn release:android
# - name: Build apks for Github release
# run: yarn release:android
# - name: Sign apk files
# id: sign_apk