Skip to content

Commit

Permalink
chore : GitHub Actions에서 keystore.properties 불러오기
Browse files Browse the repository at this point in the history
  • Loading branch information
HamBP committed Nov 15, 2023
1 parent 7bc61b2 commit 4f6d601
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/android-pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- run: echo $DEBUG_KEYSTORE | base64 -d > keystore.properties

- name: Run unit tests
run: ./gradlew testDebugUnitTest --stacktrace
env:
DEBUG_KEYSTORE: ${{ secrets.DEBUG_KEYSTORE }}
KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }}
run: |
echo "$DEBUG_KEYSTORE" | base64 -d > keystore.properties
echo "$KEYSTORE_PROPERTIES" > keystore.properties
./gradlew testDebugUnitTest --stacktrace
- name: Publish Test Results
if: always()
Expand Down

0 comments on commit 4f6d601

Please sign in to comment.