Skip to content

Commit

Permalink
Add missing apk signing key for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
katyo committed Sep 1, 2022
1 parent 7f2fbc2 commit 1fe1e24
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ jobs:
path: ~/.cargo/bin/cargo-apk
key: ${{ runner.os }}-cargo-apk
- uses: Swatinem/rust-cache@v1
- name: Create signing key
run: |
echo ${{ secrets.APK_SIGN_KEY_DATA }} | base64 -d > demo/release.keystore
sed -i 's/keystore_password = "android"/keystore_password = "${{ secrets.APK_SIGN_KEY_SECRET }}"/' demo/Cargo.toml
- name: Build demo apk
uses: actions-rs/cargo@v1
with:
Expand Down
6 changes: 5 additions & 1 deletion demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ version = "0.10"
version = "0.4"

[dependencies.glutin]
version = "0.24"
version = "0.28"

[features]
default = ["audio"]
Expand Down Expand Up @@ -75,3 +75,7 @@ name = "android.permission.WRITE_EXTERNAL_STORAGE"

[[package.metadata.android.permission]]
name = "android.permission.RECORD_AUDIO"

[package.metadata.android.signing.release]
path = "release.keystore"
keystore_password = "android"

0 comments on commit 1fe1e24

Please sign in to comment.