Skip to content

Commit

Permalink
Merge pull request #97 from iits-consulting/Ninja243/apk_keys
Browse files Browse the repository at this point in the history
fix(apk): Sign apk with goreleaser
  • Loading branch information
Ninja243 committed Jul 3, 2024
2 parents 43dfc79 + d92a8de commit 414252c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ jobs:

- name: Add APK Signing Key
run: |
mkdir -p ~/.abuild
echo "${{ secrets.APK_PACKAGE_RSA }}" > ~/.abuild/abuild.rsa
chmod 600 ~/.abuild/abuild.rsa
ls -l ~/.abuild/
echo "${{ secrets.APK_PACKAGE_RSA }}" > abuild.rsa
chmod 600 abuild.rsa
ls -l
env:
APK_PACKAGE_RSA: ${{ secrets.APK_PACKAGE_RSA }}

Expand All @@ -63,7 +62,7 @@ jobs:
NOTARYTOOL_PASS: ${{ secrets.NOTARYTOOL_PASS }}

- name: Remove APK key
run: rm -rf ~/.abuild
run: rm -rf abuild.rsa

- name: Read post build hook logs
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ nfpms:
- archlinux
apk:
signature:
key_file: ~/.abuild/abuild.rsa
key_file: abuild.rsa

0 comments on commit 414252c

Please sign in to comment.