Skip to content

Commit

Permalink
Add signing
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Jun 13, 2024
1 parent 1fe861a commit 8fa37e0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ on:
branches: [ "master" ]
#tags:
# - "build-*"
pull_request:
branches: [ "master" ]
workflow_dispatch:
#pull_request:
# branches: [ "master" ]

jobs:
build:
Expand All @@ -27,8 +28,14 @@ jobs:
- name: Build with Gradle Wrapper
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
KEYSTORE: ${{ secrets.JKS }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
run: |
echo "$GOOGLE_SERVICES_JSON" > app/src/google-services.json
mkdir ~/Downloads
echo "$KEYSTORE"|base64 -di > ~/Downloads/itag.one.river0.keystore
./gradlew bundleRelease
dependency-submission:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ itag-fastlane-api.json
session.vim
.idea/
waytoday/src/main/java/s4y/waytoday/wsse/Secret.java
.session.vim
9 changes: 9 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ android {
}
}

signingConfigs {
release {
storeFile = file("~/Download/itag.one.river0.keystore")
storePassword System.getenv("SIGNING_STORE_PASSWORD")
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
}
}

}

dependencies {
Expand Down

0 comments on commit 8fa37e0

Please sign in to comment.