Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
chore: 更换签名
Browse files Browse the repository at this point in the history
  • Loading branch information
HuanCheng65 committed Feb 2, 2024
1 parent 43150dc commit 03161da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Decrypt keystore
env:
RELEASE_ENCRYPT_SECRET_KEY: ${{ secrets.RELEASE_ENCRYPT_SECRET_KEY }}
run: openssl aes-256-cbc -d -in "${{ github.workspace }}/${{ vars.RELEASE_KEYSTORE }}.encrypted" -k $RELEASE_ENCRYPT_SECRET_KEY -md md5 >> ${{ github.workspace }}/${{ vars.RELEASE_KEYSTORE }}
- name: Decode Keystore
id: decode_keystore
uses: timheuer/[email protected]
with:
fileName: ${{ vars.RELEASE_KEYSTORE }}
fileDir: ${{ github.workspace }}
encodedString: ${{ secrets.KEYSTORE }}

- name: Generate keystore.properties
env:
Expand Down
Binary file removed huanchengfly.keystore.jks.encrypted
Binary file not shown.

0 comments on commit 03161da

Please sign in to comment.