Skip to content

Commit

Permalink
okay
Browse files Browse the repository at this point in the history
Signed-off-by: swurl <[email protected]>
  • Loading branch information
crueter committed Jan 9, 2024
1 parent 1c64230 commit ea47da4
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,24 +146,26 @@ jobs:
- name: balls
if: matrix.qt_target == 'android'
run: |
base64 -d <<< "${{ secrets.SIGNING_KEY }}"
- name: Sign APK (Android)
if: runner.os == 'Linux' && matrix.qt_target == 'android' && inputs.build_type == 'Debug'
uses: r0adkll/sign-android-release@v1
id: sign_apk
with:
# The directory to find your release to sign
releaseDirectory: ${{ env.BUILD_DIR }}/android-build/build/outputs/apk/debug
# The key used to sign your release in base64 encoded format
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
# The key alias
alias: ${{ secrets.ALIAS }}
# The password to the keystore
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
# wee woo
keyPassword: ${{ secrets.KEY_PASSWORD }}

base64 -d <<< "${{ secrets.SIGNING_KEY }}" > key.jks
ls -l key.jks
/usr/local/lib/android/sdk/build-tools/*/apksigner sign --ks key.jks --ks-pass "pass:${{ secrets.KEYSTORE_PASSWORD }}" --ks-key-alias ${{ secrets.ALIAS }} ${{ env.BUILD_DIR }}/android-build/build/outputs/apk/debug/*.apk --out QFRCScouter.apk
# - name: Sign APK (Android)
# if: runner.os == 'Linux' && matrix.qt_target == 'android' && inputs.build_type == 'Debug'
# uses: r0adkll/sign-android-release@v1
# id: sign_apk
# with:
# # The directory to find your release to sign
# releaseDirectory: ${{ env.BUILD_DIR }}/android-build/build/outputs/apk/debug
# # The key used to sign your release in base64 encoded format
# signingKeyBase64: ${{ secrets.SIGNING_KEY }}
# # The key alias
# alias: ${{ secrets.ALIAS }}
# # The password to the keystore
# keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
# # wee woo
# keyPassword: ${{ secrets.KEY_PASSWORD }}
#
- name: Package AppImage (Linux)
if: runner.os == 'Linux' && matrix.qt_arch == 'gcc_64'
shell: bash
Expand Down

0 comments on commit ea47da4

Please sign in to comment.