forked from ElishaAz/Sayboard
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DNM] Vollaboard: try to sign on the go
- Loading branch information
1 parent
a1d70cd
commit 4525b99
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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' | ||
|