1
0
Fork 0

Merge pull request #3 from slotmachinedev/main

GitHub Actions build script and warning + Android Studio build instructions.
This commit is contained in:
nin0dev 2024-04-28 22:05:26 -04:00 committed by GitHub
commit d2032e5fc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 50 additions and 0 deletions

43
.github/workflows/android.yml vendored Normal file
View 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/

View file

@ -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)
## 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
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.