Skip to content

Commit

Permalink
Upload APK
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Apr 26, 2023
1 parent 963185b commit 6712d48
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
build:

runs-on: ubuntu-latest

env:
FFMPEG_PLUGIN_KEYSTORE_PASSWORD: ${{ secrets.FFMPEG_PLUGIN_KEYSTORE_PASSWORD }}
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
Expand All @@ -27,4 +28,10 @@ jobs:
sudo apt install nasm autogen
./scripts/setup_environ.sh
./scripts/build_libs.sh
./gradlew build
./gradlew assembleRelease
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: app-debug
path: app/build/outputs/apk/release/app-release.apk
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
.DS_Store
/build
/captures
/ffmpeg-kit
/app/libs/lib
/ffmpeg-kit/
/app/libs/lib/
/app/libs/libraries.jar
.externalNativeBuild
.cxx
Expand Down
10 changes: 9 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ plugins {
android {
namespace 'net.kdt.pojavlaunch.ffmpeg'
compileSdk 33

signingConfigs {
release {
storeFile file("rel_signature.jks")
storePassword System.getenv("FFMPEG_PLUGIN_KEYSTORE_PASSWORD")
keyAlias "key0"
keyPassword System.getenv("FFMPEG_PLUGIN_KEYSTORE_PASSWORD")
}
}
defaultConfig {
applicationId "net.kdt.pojavlaunch.ffmpeg"
minSdk 21
Expand All @@ -16,6 +23,7 @@ android {

buildTypes {
release {
signingConfig signingConfigs.release
debuggable true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
Expand Down
Binary file added app/rel_signature.jks
Binary file not shown.

0 comments on commit 6712d48

Please sign in to comment.