Created
August 10, 2025 16:38
-
-
Save m-cakir/be237b0b05fcc54d506e1b5fe92c909f to your computer and use it in GitHub Desktop.
Revisions
-
m-cakir revised this gist
Aug 10, 2025 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # [root]/.github/workflows/android.yml name: Android CI on: -
m-cakir created this gist
Aug 10, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ name: Android CI on: workflow_dispatch: push: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v4 with: node-version: '18' - name: Run NPM Install run: npm install - name: Run Expo Android Prebuild run: npx expo prebuild -p android - name: Setup JDK uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' cache: gradle - name: Grant execute permission for gradlew run: chmod +x ./android/gradlew - name: Build App run: | cd ./android ./gradlew assembleRelease - name: DEBUG - List build outputs run: find app -name "*.apk" -type f - name: Upload APK artifact uses: actions/upload-artifact@v4.6.2 with: path: ./android/app/build/outputs/apk/**/*.apk retention-days: 3