Skip to content

Commit

Permalink
get .apk info
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Jul 27, 2024
1 parent c87a00b commit cf5cc02
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,29 @@ jobs:
- name: Build Unsigned Release APK with Gradle
run: bash ./gradlew assembleRelease --stacktrace

- name: Get apk path
id: apk-path
run: echo "path=$(find . -regex '^.*/build/outputs/apk/.*\.apk$' -type f | head -1)" >> $GITHUB_OUTPUT
- name: Get apk info
id: apk-info
uses: hkusu/apk-info-action@v1
with:
apk-path: ${{ steps.apk-path.outputs.path }}
- name: Show apk info
run: |
echo '${{ steps.apk-info.outputs.application-name }}'
echo '${{ steps.apk-info.outputs.application-id }}'
echo '${{ steps.apk-info.outputs.version-code }}'
echo '${{ steps.apk-info.outputs.version-name }}'
echo '${{ steps.apk-info.outputs.min-sdk-version }}'
echo '${{ steps.apk-info.outputs.target-sdk-version }}'
echo '${{ steps.apk-info.outputs.compile-sdk-version }}'
echo '${{ steps.apk-info.outputs.uses-permissions }}'
echo '${{ steps.apk-info.outputs.debuggable }}'
echo '${{ steps.apk-info.outputs.allow-backup }}'
echo '${{ steps.apk-info.outputs.supports-rtl }}'
echo '${{ steps.apk-info.outputs.file-size }}'
echo '${{ steps.apk-info.outputs.readable-file-size }}'
- name: Upload APK
uses: actions/upload-artifact@v4
with:
Expand Down
31 changes: 0 additions & 31 deletions wallet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,9 @@ android {
}
}

repositories {
flatDir {
dirs 'aars'
}
}

//sourceSets {
// unitTest {
// java.srcDir file('src/test/java')
// resources.srcDir file('src/test/resources')
// }
//}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: '../core/libs', include: ['*.jar'])
// Testing
// androidTestCompile 'junit:junit:4.11'
// androidTestCompile 'org.robolectric:robolectric:2.3'
// androidTestCompile 'com.squareup:fest-android:1.0.+'
implementation project(':core')
implementation 'com.android.support:gridlayout-v7:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
Expand All @@ -84,20 +67,6 @@ android {
}
}

//apply plugin: 'robolectric'

//robolectric {
// include '**/*Test.class'
// exclude '**/espresso/**/*.class'
//}

//apply plugin: 'idea'

//idea {
// module {
// testOutputDir = file('build/test-classes/debug')
// }
//}
namespace 'com.vergepay.wallet'
lint {
abortOnError false
Expand Down

0 comments on commit cf5cc02

Please sign in to comment.