Skip to content

Commit

Permalink
ci: add github actions workflow for building streamely app
Browse files Browse the repository at this point in the history
  • Loading branch information
elyeandre committed Jul 24, 2024
1 parent 021048b commit 0a582f4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build Streamely App

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install Cordova
run: npm install -g cordova

- name: Add Android platform
run: cordova platform add android

- name: Install app dependencies
run: npm install

- name: Check Android build Requirements
run: cordova requirements

- name: Generate the Android App Bundle
working-directory: ./platforms/android/
run: ./gradlew bundle

0 comments on commit 0a582f4

Please sign in to comment.