Skip to content

Commit

Permalink
fix: android CI (#8)
Browse files Browse the repository at this point in the history
* fix: android CI

* ci: changed the repo used for the sign apk step
  • Loading branch information
AxelSilverdew authored Jan 14, 2024
1 parent 001e2f8 commit 4e5bc6b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ jobs:
sudo apt-get update
sudo apt-get install flatpak flatpak-builder
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- name: Build and package ALVR flatpak (.flatpak)
id: build_flatpak
run: |
Expand Down Expand Up @@ -383,12 +383,15 @@ jobs:
override: true
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
distribution: "temurin"
java-version: "17"
- uses: android-actions/setup-android@v3
with:
packages: "platforms;android-29"
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25c
ndk-version: r26b

- name: Build and package ALVR
env:
Expand All @@ -401,14 +404,15 @@ jobs:
cargo xtask package-client-lib
- name: Sign apk
uses: r0adkll/sign-android-release@v1
uses: ilharp/sign-android-release@v1
id: sign_apk
with:
releaseDirectory: build/alvr_client_android
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.KEY_ALIAS }}
releaseDir: build/alvr_client_android
signingKey: ${{ secrets.SIGNING_KEY }}
keyAlias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
buildToolsVersion: 34.0.0

- name: Upload apk
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 4e5bc6b

Please sign in to comment.