Skip to content

Commit

Permalink
again and again and again....
Browse files Browse the repository at this point in the history
  • Loading branch information
judemont committed Apr 7, 2024
1 parent a4a0872 commit c48101c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flutter-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
id: decode_keystore
uses: timheuer/base64-to-file@v1
with:
fileName: 'keystore/keystore.jks'
fileName: 'keystore.jks'
encodedString: ${{ secrets.KEYSTORE }}
# - name: Run tests
# run: flutter test
Expand Down
10 changes: 6 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ android {

signingConfigs {
release {
def tmpFilePath = System.getProperty("user.home") + "/work/_temp/keystore/"
def tmpFilePath = System.getProperty("user.home") + "/work/_temp/"
def allFilesFromDir = new File(tmpFilePath).listFiles()

def keystoreFile = allFilesFromDir.first()
keystoreFile.renameTo("keystore/keystore.jks")
if (allFilesFromDir != null) {
def keystoreFile = allFilesFromDir.first()
keystoreFile.renameTo("keystore.jks")
}

storeFile = file("keystore/keystore.jks")
storeFile = file("keystore.jks")
storePassword System.getenv("SIGNING_STORE_PASSWORD")
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
Expand Down

0 comments on commit c48101c

Please sign in to comment.