File tree 2 files changed +60
-0
lines changed 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Build Android App'
2
+ description : ' Builds the Android app using Fastlane'
3
+
4
+ runs :
5
+ using : ' composite'
6
+
7
+ steps :
8
+ - name : Set up JDK
9
+ uses : actions/setup-java@v3
10
+ with :
11
+ distribution : ' temurin'
12
+ java-version : 17
13
+
14
+ - name : Set up Ruby
15
+ uses : ruby/setup-ruby@v1
16
+ with :
17
+ ruby-version : ' 2.7'
18
+
19
+ - name : Install Fastlane
20
+ run : gem install fastlane
21
+ shell : bash
22
+
23
+ - name : Setup Node
24
+ uses : actions/setup-node@v3
25
+ with :
26
+ node-version-file : .nvmrc
27
+
28
+ - name : Build Android Library with Fastlane
29
+ run : cd android && fastlane android local
30
+ shell : bash
31
+
32
+ - name : Copy Android Library to Shared Directory
33
+ run : mkdir -p ${{ github.workspace }}/artifacts/android && cp ./artifacts/app-production-debug.apk ${{ github.workspace }}/artifacts/android/app-production-debug.apk
34
+ shell : bash
35
+
36
+ - name : Upload apk to artifact
37
+ uses : actions/upload-artifact@v4
38
+ with :
39
+ name : android
40
+ path : ${{ github.workspace }}/artifacts/android/
Original file line number Diff line number Diff line change
1
+ name : " Test"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ test :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v3
18
+
19
+ - name : Build Android apk
20
+ uses : ./.github/actions/build_android
You can’t perform that action at this time.
0 commit comments