File tree Expand file tree Collapse file tree 3 files changed +75
-2
lines changed Expand file tree Collapse file tree 3 files changed +75
-2
lines changed Original file line number Diff line number Diff line change 99 uses : actions/checkout@v2
1010 with :
1111 fetch-depth : 0
12- - name : Setup Node.js
12+
13+ - name : 🏗 Setup Node
1314 uses : actions/setup-node@v2
1415 with :
15- node-version : " lts/*"
16+ node-version : 16.x
17+
18+ - name : 🏗 Setup java
19+ uses : actions/setup-java@v3
20+ with :
21+ distribution : ' temurin'
22+ java-version : ' 17'
23+
24+ - name : 🏗 Setup Expo and EAS
25+ uses : expo/expo-github-action@v7
26+ with :
27+ token : ${{ secrets.EXPO_TOKEN }}
28+ expo-version : latest
29+ eas-version : latest
30+
31+ - name : 🏗 Setup EAS local builds
32+ run : npm i --global eas-cli-local-build-plugin
33+
34+ - name : 📦 Install dependencies
35+ run : npm ci
36+
37+ # - name: 📋 Test project
38+ # run: npm run test
39+
40+ - name : 👷 Build app aab
41+ run : |
42+ eas build --local \
43+ --non-interactive \
44+ --output=./app-build.aab \
45+ --platform=android \
46+ --profile=production
47+
48+ - name : 👷 Build app apk
49+ run : |
50+ eas build --local \
51+ --non-interactive \
52+ --output=./app-build.apk \
53+ --platform=android \
54+ --profile=production-apk
55+
56+
57+ - name : 📱 Upload binary
58+ uses : actions/upload-artifact@v2
59+ with :
60+ name : app-android.aab
61+ path : app-build.aab
62+
63+ - name : 📱 Upload binary
64+ uses : actions/upload-artifact@v2
65+ with :
66+ name : app-android.apk
67+ path : app-build.apk
68+
69+ # - name: Setup Node.js
70+ # uses: actions/setup-node@v2
71+ # with:
72+ # node-version: "lts/*"
73+
1674 - name : Release
1775 env :
1876 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 1111 }
1212 ],
1313 "@semantic-release/release-notes-generator",
14+ [
15+ "@semantic-release/github",
16+ {
17+ "assets": [
18+ { "path": "app-build.apk/app-android.apk", "label": "App APK" },
19+ { "path": "app-build.aab/app-android.aab", "label": "App aab" }
20+ ]
21+ }
22+ ],
1423 "@semantic-release/github"
1524 ]
1625}
Original file line number Diff line number Diff line change 1616 },
1717 "production" : {
1818 "channel" : " production"
19+ },
20+ "production-apk" : {
21+ "channel" : " production" ,
22+ "android" : {
23+ "buildType" : " apk"
24+ }
1925 }
2026 },
2127 "submit" : {
You can’t perform that action at this time.
0 commit comments