Skip to content

Commit

Permalink
chore(pipeline): release workflow
Browse files Browse the repository at this point in the history
SUITEDEV-35237

Co-authored-by: davidSchuppa <[email protected]>
Co-authored-by: megamegax <[email protected]>
Co-authored-by: Andras Sarro <[email protected]>
  • Loading branch information
4 people committed Feb 29, 2024
1 parent 50c379f commit 6f40340
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release_sample_app_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
workflows: [ "On Push" ]
types:
- completed
push:
branches: [ dev ]

env:
USE_LOCAL_DEPENDENCY: ${{ vars.USE_LOCAL_DEPENDENCY }}
Expand Down
7 changes: 4 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ tasks {
doLast {
val base64String = env.fetch(propertyName)
val decoder = Base64.getDecoder()
val decodedString = String(decoder.decode(base64String))
val decodedBytes = decoder.decode(base64String)

val outputFile = file(file)
outputFile.writeText(decodedString)
file(file).apply {
writeBytes(decodedBytes)
}
}
}
}
7 changes: 1 addition & 6 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ android {
(System.getenv("ANDROID_RELEASE_KEY_PASSWORD") ?: "")
)
storeFile = file(
env.fetch(
"ANDROID_RELEASE_STORE_FILE_BASE64",
(System.getenv("ANDROID_RELEASE_STORE_FILE_BASE64") ?: "")
)
"./mobile-team-android.jks"
)
}
}
Expand Down Expand Up @@ -133,13 +130,11 @@ dependencies {
implementation(libs.kotlin.reflect)
implementation(libs.kotlin.stdlib)
implementation(libs.androidx.material)
// implementation("androidx.cardview:cardview:1.0.0")
implementation(libs.play.services.auth)
implementation(libs.androidx.appcompat)
implementation(libs.io.coil)

implementation(libs.androidx.core.ktx)
// implementation("com.google.android.material:material:1.11.0")
implementation(libs.androidx.compose.ui)
implementation(libs.androidx.compose.material)
implementation(libs.androidx.compose.ui.tooling.preview)
Expand Down

0 comments on commit 6f40340

Please sign in to comment.