From 8fe13cdcba86a0965b8f277290fb1ef089efd01d Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Thu, 14 Jul 2022 10:27:14 -0700 Subject: [PATCH] Add android build workflow --- .github/workflows/android-build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index a04db10e..8362f620 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -12,14 +12,13 @@ on: pull_request: branches: [ "main" ] paths: [ "mobile", "frontend" ] - + jobs: build-android: runs-on: ubuntu-latest steps: - name: 'Checkout' uses: actions/checkout@v3 - - name: 'Download main.js Artifact' uses: dawidd6/action-download-artifact@v2 with: @@ -27,12 +26,9 @@ jobs: workflow_conclusion: success name: main-js path: mobile/html/Web.bundle/js/ - - - name: 'Install npm Dependencies' + - name: 'Install npm dependencies' run: | - cd mobile npm install - - name: 'Build Android Release' run: | cd mobile/android @@ -78,4 +74,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./mobile/android/app/build/outputs/apk/release/app-release.apk asset_name: robosats-${{ steps.commit.outputs.short }}.apk - asset_content_type: application/apk \ No newline at end of file + asset_content_type: application/apk