Skip to content

Commit

Permalink
Update GitHub action to build Android
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasKypta committed Dec 7, 2023
1 parent c0d9cbc commit 4ed49c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ jobs:
cache: 'gradle'
- name: Setup Cordova tools
run: npm install -g cordova
- name: Build Android
run: pushd demoapp && npm i && npm --sUserName=${{ secrets.S_USERNAME }} --sPassword=${{ secrets.S_PASSWORD }} --sPubKey=${{ secrets.S_PUBKEY }} --m2UserName=${{ secrets.M_USERNAME }} --m2Password=${{ secrets.M_PASSWORD }} --m2Url=${{ secrets.M_URL }} --sUserNameApple=${{ secrets.S_USERNAME_APPLE }} --sPasswordApple=${{ secrets.S_PASSWORD_APPLE }} --sPubKeyApple=${{ secrets.S_PUBKEY_APPLE }} --afUserName=${{ secrets.AF_USERNAME }} --afPassword=${{ secrets.AF_PASSWORD }} --afUrl=${{ secrets.AF_URL }} run prepareConfig && npm run buildAndroid
- name: Integrate into demo app and run it
uses: reactivecircus/android-emulator-runner@v2
if: false # the action it unstable on linux runners, using mac is too expensive, will try to check later
with:
api-level: 29
# add "&& npm run prepareAndRunOnIosEmulator" later when resolved
Expand Down

0 comments on commit 4ed49c7

Please sign in to comment.