AbdurRahman
Member
I wish basic4android would have an command line version.
Not complex, just basic supported arguments are enough for my requirements e.g -project xxx.bas -out xxx.apk.
Background:
I always build android studio apps using github ci,
because github ci VPS is:
To share my b4a apps to community, I would need cli version to build and upload apk online on github.
Sample Script:
Not complex, just basic supported arguments are enough for my requirements e.g -project xxx.bas -out xxx.apk.
Background:
I always build android studio apps using github ci,
because github ci VPS is:
- free
- has a lot of tools
- builds under seconds
To share my b4a apps to community, I would need cli version to build and upload apk online on github.
Sample Script:
YAML:
name: Build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Use Java8
uses: actions/[email protected]
with:
java-version: 1.8
- name: Build Release apk
run: sudo su && cd 'BlackMart' && chmod +x gradlew && ./gradlew assembleRelease
- name: Upload APK
uses: actions/[email protected]
with:
name: app
path: "BlackMart/app/build/outputs/apk"
Last edited by a moderator: