Skip to content

hotfix profile screen. (#442) #136

hotfix profile screen. (#442)

hotfix profile screen. (#442) #136

name: Build Android apk
on:
workflow_dispatch:
inputs:
comments:
description: 'Comments'
required: true
default: 'Manual build Actions'
push:
branches:
- develop
jobs:
build-android-apk:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Getting the repo
uses: actions/checkout@v2
- name: Installing Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install React Native CLI
run: |
yarn global add react-native-cli
- name: Install yarn dependencies
run: |
yarn install
- name: Make Gradlew Executable
run: cd android && chmod +x ./gradlew
- name: Build Android Release
run: |
cd android && ./gradlew assembleRelease --no-daemon
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: app-release.apk
path: android/app/build/outputs/apk/release/
- name: Download a single artifact
uses: actions/download-artifact@v3
with:
name: app-release.apk
- name: Update Pull Request File
run: |
echo "APK: \`app-release.apk\`" >> PULL_REQUEST.md
cat pull_request.md # Display the updated file for verification