File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 - name : Sign APK with apksigner
4141 run : |
4242 BUILD_TOOLS=$(ls $ANDROID_HOME/build-tools | sort -V | tail -1)
43- # $ANDROID_HOME/build-tools/$BUILD_TOOLS /apksigner sign \
44- $ANDROID_HOME/build-tools/34.0.0 /apksigner sign \
43+ # $ANDROID_HOME/build-tools/34.0.0 /apksigner sign \
44+ $ANDROID_HOME/build-tools/$BUILD_TOOLS /apksigner sign \
4545 --ks ${{ github.workspace }}/release.keystore \
46+ --ks-type JKS \
4647 --ks-key-alias "${{ secrets.KEY_ALIAS }}" \
4748 --ks-pass pass:"${{ secrets.STORE_PASSWORD }}" \
4849 --key-pass pass:"${{ secrets.KEY_PASSWORD }}" \
@@ -98,12 +99,10 @@ jobs:
9899 - name : Sign APK with apksigner
99100 run : |
100101 BUILD_TOOLS=$(ls $ANDROID_HOME/build-tools | sort -V | tail -1)
101- # $ANDROID_HOME/build-tools/$BUILD_TOOLS/apksigner sign \
102- $ANDROID_HOME/build-tools/34.0.0/apksigner sign \
102+ $ANDROID_HOME/build-tools/$BUILD_TOOLS/apksigner sign \
103103 --ks ${{ github.workspace }}/release.keystore \
104104 --ks-key-alias "${{ secrets.KEY_ALIAS }}" \
105105 --ks-pass pass:"${{ secrets.STORE_PASSWORD }}" \
106- --key-pass pass:"${{ secrets.KEY_PASSWORD }}" \
107106 --out app/build/outputs/apk/release/app-release-signed.apk \
108107 app/build/outputs/apk/release/app-release-unsigned.apk
109108
You can’t perform that action at this time.
0 commit comments