Update README.md #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Build | |
run: | | |
sudo apt-get update | |
sudo apt-get install openjdk-17-jdk | |
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 | |
keytool -genkeypair -dname CN=OpenIPC -keyalg RSA -validity 8000 -alias fpv -keystore fpv.jks -storepass release -noprompt | |
./gradlew assembleDebug | |
mv app/build/outputs/apk/debug/app-debug.apk PixelPilot.apk | |
- name: Upload | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: latest | |
files: PixelPilot.apk |