Merge pull request #3 from slotmachinedev/main
GitHub Actions build script and warning + Android Studio build instructions.
This commit is contained in:
commit
d2032e5fc3
2 changed files with 50 additions and 0 deletions
43
.github/workflows/android.yml
vendored
Normal file
43
.github/workflows/android.yml
vendored
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
name: Build APK
|
||||||
|
|
||||||
|
env:
|
||||||
|
main_project_module: app
|
||||||
|
|
||||||
|
on:
|
||||||
|
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
- '!main'
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set Up JDK
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '17'
|
||||||
|
cache: 'gradle'
|
||||||
|
|
||||||
|
- name: Change wrapper permissions
|
||||||
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
|
- name: Build gradle project
|
||||||
|
run: ./gradlew build
|
||||||
|
|
||||||
|
- name: Build APK
|
||||||
|
run: ./gradlew assembleDebug
|
||||||
|
|
||||||
|
- name: Upload APK
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: app
|
||||||
|
path: ${{ env.main_project_module }}/build/outputs/apk/debug/
|
|
@ -28,6 +28,13 @@ However, if you currently want to use a mobile mod, you can use [Aliucord](https
|
||||||
|
|
||||||
[Here!](https://github.com/VendroidEnhanced/Vendroid/releases/latest/download/app-release.apk)
|
[Here!](https://github.com/VendroidEnhanced/Vendroid/releases/latest/download/app-release.apk)
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Only do this if you made changes to the app's code. If you're looking for prebuilt APKs, check the Download section.
|
||||||
|
|
||||||
|
Open the project with Android Studio and open the "Build" drop menu, then hover over "Build Bundle(s) / APK(s)" and hit "Build APK(s)". Done!
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
You can find a roadmap of upcoming features [here](https://github.com/orgs/VendroidEnhanced/projects/1). You can make issues in this repo to suggest features.
|
You can find a roadmap of upcoming features [here](https://github.com/orgs/VendroidEnhanced/projects/1). You can make issues in this repo to suggest features.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue