Skip to content

Commit

Permalink
chore: debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
ohassine committed May 23, 2024
1 parent c060721 commit 8719d9f
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/build-develop-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,27 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Decode release Keystore
env:
ENCODED_STRING: ${{ secrets.ENCODED_KEYSTORE_PRE_RELEASE }}
run: |
TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore
mkdir "${TMP_KEYSTORE_FILE_PATH}"
echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/key.keystore
- name: build staging flavour
run:
./gradlew app:assembleStagingRelease -p ./ --no-daemon
env:
KEYSTORE_KEY_NAME_RELEASE: ${{ secrets.SIGNING_KEY_ALIAS_PRE_RELEASE }}
KEYPWD_RELEASE: ${{ secrets.SIGNING_KEY_PASSWORD_PRE_RELEASE }}
KEYSTOREPWD_RELEASE: ${{ secrets.SIGNING_STORE_PASSWORD_PRE_RELEASE }}
ENABLE_SIGNING: ${{ secrets.ENABLE_SIGNING }}
# - name: Decode release Keystore
# env:
# ENCODED_STRING: ${{ secrets.ENCODED_KEYSTORE_PRE_RELEASE }}
# run: |
# TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore
# mkdir "${TMP_KEYSTORE_FILE_PATH}"
# echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/key.keystore
# - name: build staging flavour
# run:
# ./gradlew app:assembleStagingRelease -p ./ --no-daemon
# env:
# KEYSTORE_KEY_NAME_RELEASE: ${{ secrets.SIGNING_KEY_ALIAS_PRE_RELEASE }}
# KEYPWD_RELEASE: ${{ secrets.SIGNING_KEY_PASSWORD_PRE_RELEASE }}
# KEYSTOREPWD_RELEASE: ${{ secrets.SIGNING_STORE_PASSWORD_PRE_RELEASE }}
# ENABLE_SIGNING: ${{ secrets.ENABLE_SIGNING }}
- name: Decode debug Keystore
env:
ENCODED_STRING: ${{ secrets.ENCODED_KEYSTORE_DEBUG }}
run: |
TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore
mkdir "${TMP_KEYSTORE_FILE_PATH}"
echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/key.keystore
- name: build dev flavour
run:
Expand Down

0 comments on commit 8719d9f

Please sign in to comment.