Skip to content

Commit

Permalink
feat: add basic build-app.yml github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Nastaliss committed Mar 7, 2024
1 parent 64d225e commit b731ed4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Buld an apk and push it

on:
push:
branches:
- main
- test-github-actions

jobs:
build:
defaults:
run:
working-directory: PyroApp
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install npm dependencies
run: |
npm install
- name: Build Android Release
run: |
cd android && ./gradlew assembleDebug
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: app-debug.apk
path: android/app/build/outputs/apk/release/


0 comments on commit b731ed4

Please sign in to comment.