Skip to content

Commit 71f678d

Browse files
committed
FEAT: 릴리즈 키 관련 github action 수정
1 parent 3b7809b commit 71f678d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/develop_branch.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,29 @@ jobs:
1414
- name: check out repository
1515
uses: actions/checkout@v4
1616

17+
- name: Decode Keystore
18+
env:
19+
RELEASE_STORE_BASE_64: ${{ secrets.RELEASE_STORE_BASE_64 }}
20+
run: |
21+
echo $RELEASE_STORE_BASE_64 > encoded_keystore.txt
22+
base64 -d -o release.jks < encoded_keystore.txt
23+
1724
- name: Generate local.properties
1825
env:
1926
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
2027
BITNAGIL_DEV_URL: ${{ secrets.BITNAGIL_DEV_URL }}
2128
BITNAGIL_PROD_URL: ${{ secrets.BITNAGIL_PROD_URL }}
29+
RELEASE_KEY_ALIAS: ${{ secrets.RELEASE_KEY_ALIAS }}
30+
RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}
31+
RELEASE_STORE_PASSWORD: ${{ secrets.RELEASE_STORE_PASSWORD }}
2232
run: |
2333
echo "kakao.native.app.key=$KAKAO_NATIVE_APP_KEY" >> local.properties
2434
echo "bitnagil.dev.url=$BITNAGIL_DEV_URL" >> local.properties
2535
echo "bitnagil.prod.url=$BITNAGIL_PROD_URL" >> local.properties
36+
echo "release.key.alias=$RELEASE_KEY_ALIAS" >> local.properties
37+
echo "release.key.password=$RELEASE_KEY_PASSWORD" >> local.properties
38+
echo "release.keystore.password=$RELEASE_STORE_PASSWORD" >> local.properties
39+
echo "release.keystore.path=../release.jks" >> local.properties
2640
2741
- name: set up JDK 17
2842
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)