mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-07-12 13:31:21 +02:00
Update android.publish.yml
Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com>
This commit is contained in:
27
.github/workflows/android.publish.yml
vendored
27
.github/workflows/android.publish.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user