Skip to content

Commit 22d98cc

Browse files
committed
chore: upload apk on build
1 parent b1c8484 commit 22d98cc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
run: yarn prepare
5252

5353
build-android:
54+
if: ${{ !contains(github.ref, 'renovate/') && !contains(github.ref, 'dependabot/') }}
5455
runs-on: ubuntu-latest
56+
timeout-minutes: 30
5557
env:
5658
TURBO_CACHE_DIR: .turbo/android
5759
steps:
@@ -105,9 +107,17 @@ jobs:
105107
JAVA_OPTS: "-XX:MaxHeapSize=6g"
106108
run: |
107109
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
110+
- name: Upload APK
111+
if: success()
112+
uses: actions/upload-artifact@v4
113+
with:
114+
name: ReactNativeAccessExample.apk
115+
path: ./example/android/app/build/outputs/apk/debug/app-debug.apk
108116

109117
build-ios:
118+
if: ${{ !contains(github.ref, 'renovate/') && !contains(github.ref, 'dependabot/') }}
110119
runs-on: macos-14
120+
timeout-minutes: 30
111121
env:
112122
TURBO_CACHE_DIR: .turbo/ios
113123
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ lib/
7979

8080
ios/*.xcframework
8181
example/ios/*.env
82+
example/dist

0 commit comments

Comments
 (0)