Skip to content

Commit

Permalink
sign release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andremion committed Dec 31, 2024
1 parent 74886bb commit 7448855
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sdk-size-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
# Calculate sizes from the .apk files and save them into a temporary JSON file
# so it can be exported for the next job step
for module in $MODULES; do
baselineFile="metrics/$module/build/outputs/apk/debug/$module-baseline-debug.apk"
streamFile="metrics/$module/build/outputs/apk/debug/$module-stream-debug.apk"
baselineFile="metrics/$module-baseline/build/outputs/apk/debug/$module-baseline-debug.apk"
streamFile="metrics/$module-stream/build/outputs/apk/debug/$module-stream-debug.apk"
baselineSize=$(du -k "$baselineFile" | awk '{print $1}')
streamSize=$(du -k "$streamFile" | awk '{print $1}')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-size-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

env:
MODULES: "stream-chat-android-compose"
VARIANTS: "debug release-unsigned"
VARIANTS: "debug release"
METRICS_FILE: "metrics/size.json"
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

Expand Down
5 changes: 5 additions & 0 deletions metrics/stream-chat-android-compose-baseline/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ apply(from = "${rootDir}/scripts/android.gradle")
android {
namespace = "io.getstream.metrics.compose.baseline"
buildFeatures.compose = true
buildTypes {
release {
signingConfig = signingConfigs.findByName("debug")
}
}
}

dependencies {
Expand Down
5 changes: 5 additions & 0 deletions metrics/stream-chat-android-compose-stream/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ apply(from = "${rootDir}/scripts/android.gradle")
android {
namespace = "io.getstream.metrics.compose.stream"
buildFeatures.compose = true
buildTypes {
release {
signingConfig = signingConfigs.findByName("debug")
}
}
}

dependencies {
Expand Down

0 comments on commit 7448855

Please sign in to comment.