Skip to content

Commit

Permalink
[DNM] Vollaboard: try to sign on the go
Browse files Browse the repository at this point in the history
  • Loading branch information
techyminati authored Oct 1, 2024
1 parent a1d70cd commit 4525b99
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
api-level: 33
build-tools: 33.0.0

# Decode the base64 keystore and save it as keystore.jks
- name: Create keystore file from base64
run: |
echo "${{ secrets.ANDROID_KEYSTORE_FILE_CONTENTS }}" | base64 --decode > keystore.jks
- name: Align APK
run: |
${ANDROID_HOME}/build-tools/33.0.0/zipalign -v 4 releases/com.volla.vollaboard.apk releases/com.volla.vollaboard-aligned.apk
Expand All @@ -63,7 +68,7 @@ jobs:
path: releases/com.volla.vollaboard-signed.apk

- name: Upload Apk to Nightly Repository
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/volla-14' }}
uses: wlixcc/[email protected]
with:
username: 'drone'
Expand Down

0 comments on commit 4525b99

Please sign in to comment.