mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 10:31:35 +00:00
Add android build workflow
This commit is contained in:
parent
33941ce359
commit
8fe13cdcba
10
.github/workflows/android-build.yml
vendored
10
.github/workflows/android-build.yml
vendored
@ -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
|
||||
asset_content_type: application/apk
|
||||
|
Loading…
Reference in New Issue
Block a user