Skip to content

Commit 7004cda

Browse files
create android build test 52
1 parent 07b5380 commit 7004cda

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

.github/workflows/build-android-apk.yaml

+7-18
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18-
- uses: actions-rs/toolchain@v1
19-
with:
20-
toolchain: stable
21-
target: aarch64-linux-android
22-
23-
- name: Set up Homebrew
24-
uses: Homebrew/actions/setup-homebrew@master
25-
26-
- name: Install libpq
27-
run: brew install libpq
28-
2918
- name: Read .nvmrc
3019
run: echo "##[set-output name=NVMRC;]$(cat ./client/.nvmrc)"
3120
id: nvm
@@ -43,18 +32,18 @@ jobs:
4332
env:
4433
NODE_AUTH_TOKEN: ${{secrets.TOKEN_REPO}}
4534

46-
- name: Get tag
47-
id: tag
48-
run: |
49-
TAG=$(git describe --tags --abbrev=0)
50-
echo "Latest tag: $TAG"
51-
5235
- name: Get Properties
5336
id: properties
5437
run: |
5538
cp "$HOME/android/local.properties" ./client/packages/android
5639
cp "$HOME/android/release.keystore" ./client/packages/android/app
5740
41+
- name: Set Up Rust
42+
uses: actions-rs/toolchain@v1
43+
with:
44+
toolchain: stable
45+
target: aarch64-linux-android
46+
5847
- name: Set Up Java
5948
uses: actions/setup-java@v4
6049
with:
@@ -67,7 +56,7 @@ jobs:
6756
cmd: android:build:release && pwd
6857
dir: 'client'
6958
env:
70-
NDK_BIN: ../../../../android/ndk/27.2.12479018/toolchains/llvm/prebuilt/darwin-x86_64/bin/
59+
NDK_BIN: /Users/tmfmacmini/android/ndk/27.2.12479018/toolchains/llvm/prebuilt/darwin-x86_64/bin/
7160

7261
- name: Create the Artifact
7362
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)