chore: remove outdated comment #54
Workflow file for this run
This file contains 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 characters
name: Build RVMob for Android (debug) | |
on: | |
push: | |
jobs: | |
# build-android-debug-win: | |
# runs-on: windows-latest | |
# steps: | |
# - name: Checkout Repository | |
# uses: actions/checkout@v3 | |
# - name: Set up Node | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 18 | |
# cache: "yarn" | |
# - name: Set up Java | |
# uses: actions/setup-java@v3 | |
# with: | |
# java-version: '11' | |
# distribution: 'microsoft' | |
# - name: Install dependencies | |
# run: yarn install | |
# - name: Build the app | |
# run: npx react-native build-android --mode debug | |
# - name: Upload debug APK | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# path: D:\a\rvmob\rvmob\android\app\build\outputs\apk\debug\app-debug.apk | |
# name: RVMob-Debug-${{ github.sha }}.apk | |
build-android-debug-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'microsoft' | |
- name: Install dependencies and prepare assets | |
run: yarn install && npx react-native-asset | |
- name: Bundle the JS | |
run: yarn react-native bundle --platform android --entry-file ./index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res | |
- name: Build the app | |
run: yarn react-native build-android --tasks assembleDebug | |
- name: Rename debug APKs | |
run: | | |
mv app-arm64-v8a-debug.apk RVMob-Debug-${{ github.sha }}-arm64-v8a.apk | |
mv app-armeabi-v7a-debug.apk RVMob-Debug-${{ github.sha }}-armeabi-v7a.apk | |
mv app-x86_64-debug.apk RVMob-Debug-${{ github.sha }}-x86_64.apk | |
mv app-x86-debug.apk RVMob-Debug-${{ github.sha }}-x86.apk | |
working-directory: /home/runner/work/rvmob/rvmob/android/app/build/outputs/apk/debug/ | |
- name: Upload debug APK | |
uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
/home/runner/work/rvmob/rvmob/android/app/build/outputs/apk/debug/RVMob-Debug-${{ github.sha }}-arm64-v8a.apk | |
/home/runner/work/rvmob/rvmob/android/app/build/outputs/apk/debug/RVMob-Debug-${{ github.sha }}-armeabi-v7a.apk | |
/home/runner/work/rvmob/rvmob/android/app/build/outputs/apk/debug/RVMob-Debug-${{ github.sha }}-x86_64.apk | |
/home/runner/work/rvmob/rvmob/android/app/build/outputs/apk/debug/RVMob-Debug-${{ github.sha }}-x86.apk |