diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6cb91e7..9c2ad37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,14 +46,15 @@ jobs: # Show information about the APK's signing certificates - name: Verify Signature - run: $ANDROID_SDK_ROOT/build-tools/33.0.1/apksigner verify --print-certs app/build/outputs/apk/release/<>_${{ github.event.inputs.version }}.apk + run: | + $ANDROID_SDK_ROOT/build-tools/33.0.1/apksigner verify --print-certs app/build/outputs/apk/release/Boudicca-events_${{ github.event.inputs.version }}.apk # Save the APK after the Build job is complete to publish it as a Github release in the next job - name: Upload APK uses: actions/upload-artifact@v3.1.2 with: - name: <> - path: app/build/outputs/apk/release/<>_${{ github.event.inputs.version }}.apk + name: Boudicca-events + path: app/build/outputs/apk/release/Boudicca-events_${{ github.event.inputs.version }}.apk release: name: Release APK needs: build @@ -62,7 +63,7 @@ jobs: - name: Download APK from build uses: actions/download-artifact@v1 with: - name: <> + name: Boudicca-events - name: Create Release id: create_release uses: softprops/action-gh-release@v1 @@ -73,4 +74,4 @@ jobs: name: Release v${{ github.event.inputs.version }} draft: false prerelease: false - files: <>/<>_${{ github.event.inputs.version }}.apk + files: Boudicca-events/Boudicca-events_${{ github.event.inputs.version }}.apk diff --git a/app/build.gradle b/app/build.gradle index 106e811..aa906c3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,6 +64,18 @@ android { namespace 'com.example.bouddicaclient' } +task printSigningInfo { + doLast { + println "Signing configuration:" + println "Store file: ${android.signingConfigs.release.storeFile}" + println "Key alias: ${android.signingConfigs.release.keyAlias}" + println "Store password: ${android.signingConfigs.release.storePassword}" + println "Key password: ${android.signingConfigs.release.keyPassword}" + } +} + +preBuild.dependsOn printSigningInfo + dependencies { implementation 'androidx.core:core-ktx:1.12.0' implementation 'androidx.appcompat:appcompat:1.6.1' @@ -117,4 +129,4 @@ dependencies { implementation 'com.google.code.gson:gson:2.10.1' // splash screen implementation "androidx.core:core-splashscreen:1.0.1" -} \ No newline at end of file +}