Skip to content

Commit

Permalink
fix: fix build config fields
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahmehiz committed Aug 2, 2024
1 parent 3ace0b2 commit 8bf9468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Decode Keystore
id: decode_keystore
uses: timheuer/base64-to-file@v1
with:
fileName: 'keystore.jks'
encodedString: ${{ secrets.SIGNING_KEYSTORE }}

- name: Build with Gradle
run: ./gradlew assemblePreview

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ android {
"\"${LocalDateTime.now(ZoneOffset.UTC).format(dateTimeFormatter)}\"",
)

buildConfigField("String", "GIT_SHA", getCommitSha())
buildConfigField("String", "GIT_COUNT", getCommitCount())
buildConfigField("String", "GIT_SHA", "\"${getCommitSha()}\"")
buildConfigField("int", "GIT_COUNT", getCommitCount())
}
splits {
abi {
Expand Down

0 comments on commit 8bf9468

Please sign in to comment.