Skip to content

Commit

Permalink
feat: check [8]
Browse files Browse the repository at this point in the history
  • Loading branch information
arifwidayana committed May 11, 2023
1 parent b86b9e5 commit bc07cef
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
CORE_PROPERTIES_PATH: ${{ secrets.CORE_PROPERTIES_PATH }}

run: |
echo $ENCODED_STRING_CORE > core-properties-b64.txt
base64 -d core-properties-b64.txt > $CORE_PROPERTIES_PATH
echo "$ENCODED_STRING_CORE" | base64 -d > $CORE_PROPERTIES_PATH
- name: Build with Gradle
run: ./gradlew build
Expand Down Expand Up @@ -82,8 +81,7 @@ jobs:
CORE_PROPERTIES_PATH: ${{ secrets.CORE_PROPERTIES_PATH }}

run: |
echo $ENCODED_STRING_CORE > core-properties-b64.txt
base64 -d core-properties-b64.txt > $CORE_PROPERTIES_PATH
echo "$ENCODED_STRING_CORE" | base64 -d > $CORE_PROPERTIES_PATH
# - name: Run instrumentation tests
# uses: reactivecircus/android-emulator-runner@v2
Expand All @@ -110,25 +108,23 @@ jobs:
uses: actions/checkout@v3

- name: Setup Project
uses: ./github/actions/setup
uses: ./.github/actions/setup

- name: Decode Core Properties
env:
ENCODED_STRING_CORE: ${{ secrets.CORE_PROPERTIES_B64 }}
CORE_PROPERTIES_PATH: ${{ secrets.CORE_PROPERTIES_PATH }}

run: |
echo $ENCODED_STRING_CORE > core-properties-b64.txt
base64 -d core-properties-b64.txt > $CORE_PROPERTIES_PATH
echo "$ENCODED_STRING_CORE" | base64 -d > $CORE_PROPERTIES_PATH
- name: Decode Keystore
env:
ENCODED_STRING_KEYSTORE: ${{ secrets.RELEASE_STORE_FILE_B64 }}
RELEASE_KEY_FILE_PATH: ${{ secrets.RELEASE_KEY_FILE_PATH }}

run: |
echo $ENCODED_STRING_KEYSTORE > keystore-b64.txt
base64 -d keystore-b64.txt > $RELEASE_KEY_FILE_PATH
echo "$ENCODED_STRING_KEYSTORE" | base64 -d > $RELEASE_KEY_FILE_PATH
- name: Build Release apk
env:
Expand Down

0 comments on commit bc07cef

Please sign in to comment.