- The Travis build environment seems to have Java 8 by default, and the latest version of the Android SDK (for SDK level 31 and above) need Java 11
- Github actions seem to have all the latest build tools etc pre-installed.
The github actions yml file, which has all the commands necessary for a debug build, is at
https://github.com/hn-88/LMSapp/blob/main/.github/workflows/buildSSSVV.yml
https://github.com/hn-88/LMSapp/blob/main/.github/workflows/buildSSSVV.yml
Can refer to Notes on building the cordova-based Moodle app for Android for more info on building release version, etc.
Edit: In my implementation, I used manually triggered actions - https://levelup.gitconnected.com/how-to-manually-trigger-a-github-actions-workflow-4712542f1960 - by having the line
on: workflow_dispatch
on: workflow_dispatch
No comments:
Post a Comment