1
1
on :
2
- push :
3
- tags :
4
- - ' v*'
5
- workflow_dispatch :
2
+ push :
3
+ tags :
4
+ - ' v*'
5
+ workflow_dispatch :
6
6
7
7
name : Android Build
8
8
@@ -11,57 +11,57 @@ jobs:
11
11
runs-on : self-hosted
12
12
timeout-minutes : 30
13
13
steps :
14
- - uses : actions/checkout@v4
15
- with :
16
- fetch-depth : 0
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
17
18
- - name : Read .nvmrc
19
- run : echo "##[set-output name=NVMRC;]$(cat ./client/.nvmrc)"
20
- id : nvm
18
+ - name : Read .nvmrc
19
+ run : echo "##[set-output name=NVMRC;]$(cat ./client/.nvmrc)"
20
+ id : nvm
21
21
22
- - name : Use Node.js (.nvmrc)
23
- uses : actions/setup-node@v1
24
- with :
25
- node-version : " ${{ steps.nvm.outputs.NVMRC }}"
22
+ - name : Use Node.js (.nvmrc)
23
+ uses : actions/setup-node@v1
24
+ with :
25
+ node-version : ' ${{ steps.nvm.outputs.NVMRC }}'
26
26
27
- - name : Install deps
28
- uses : borales/actions-yarn@v4
29
- with :
30
- cmd : install
31
- dir : ' client'
32
- env :
33
- NODE_AUTH_TOKEN : ${{secrets.TOKEN_REPO}}
27
+ - name : Install deps
28
+ uses : borales/actions-yarn@v4
29
+ with :
30
+ cmd : install
31
+ dir : ' client'
32
+ env :
33
+ NODE_AUTH_TOKEN : ${{secrets.TOKEN_REPO}}
34
34
35
- - name : Get Properties
36
- id : properties
37
- run : |
38
- cp "$HOME/android/local.properties" ./client/packages/android
39
- cp "$HOME/android/release.keystore" ./client/packages/android/app
35
+ - name : Get Properties
36
+ id : properties
37
+ run : |
38
+ cp "$HOME/android/local.properties" ./client/packages/android
39
+ cp "$HOME/android/release.keystore" ./client/packages/android/app
40
40
41
- - name : Set Up Rust
42
- uses : actions-rs/toolchain@v1
43
- with :
44
- toolchain : stable
45
- target : aarch64-linux-android
41
+ - name : Set Up Rust
42
+ uses : actions-rs/toolchain@v1
43
+ with :
44
+ toolchain : stable
45
+ target : aarch64-linux-android
46
46
47
- - name : Set Up Java
48
- uses : actions/setup-java@v4
49
- with :
50
- distribution : ' temurin'
51
- java-version : ' 17'
47
+ - name : Set Up Java
48
+ uses : actions/setup-java@v4
49
+ with :
50
+ distribution : ' temurin'
51
+ java-version : ' 17'
52
52
53
- - name : Build Android App
54
- uses : borales/actions-yarn@v4
55
- with :
56
- cmd : android:build:release
57
- dir : ' client'
58
- env :
59
- NDK_BIN : /Users/tmfmacmini/android/ndk/27.2.12479018/toolchains/llvm/prebuilt/darwin-x86_64/bin/
60
- # Update this version when upgrading the NDK version on the self-hosted machine
53
+ - name : Build Android App
54
+ uses : borales/actions-yarn@v4
55
+ with :
56
+ cmd : android:build:release
57
+ dir : ' client'
58
+ env :
59
+ NDK_BIN : /Users/tmfmacmini/android/ndk/27.2.12479018/toolchains/llvm/prebuilt/darwin-x86_64/bin/
60
+ # Update this version when upgrading the NDK version on the self-hosted machine
61
61
62
- - name : Create the Artifact
63
- uses : actions/upload-artifact@v4
64
- with :
65
- name : Android_Build
66
- path : ./client/packages/android/app/build/outputs/apk/release/
67
- retention-days : 3
62
+ - name : Create the Artifact
63
+ uses : actions/upload-artifact@v4
64
+ with :
65
+ name : Android_Build
66
+ path : ./client/packages/android/app/build/outputs/apk/release/*.apk
67
+ retention-days : 3
0 commit comments