File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 11
11
CI_GRADLE_ARG_PROPERTIES : --stacktrace -PpreDexEnable=false --max-workers 8 --no-daemon
12
12
13
13
jobs :
14
- release :
15
- name : Create App Bundle
14
+ gplay :
15
+ name : Create App Bundle (Gplay)
16
16
runs-on : ubuntu-latest
17
17
concurrency :
18
18
group : ${{ github.ref == 'refs/head/main' && format('build-release-main-{0}', github.sha) }}
38
38
name : elementx-app-gplay-bundle-unsigned
39
39
path : |
40
40
app/build/outputs/bundle/gplayRelease/app-gplay-release.aab
41
+
42
+ fdroid :
43
+ name : Create APKs (FDroid)
44
+ runs-on : ubuntu-latest
45
+ concurrency :
46
+ group : ${{ github.ref == 'refs/head/main' && format('build-release-main-{0}', github.sha) }}
47
+ cancel-in-progress : true
48
+ steps :
49
+ - uses : actions/checkout@v4
50
+ - name : Use JDK 17
51
+ uses : actions/setup-java@v4
52
+ with :
53
+ distribution : ' temurin' # See 'Supported distributions' for available options
54
+ java-version : ' 17'
55
+ - name : Configure gradle
56
+ uses : gradle/actions/setup-gradle@v3
57
+ - name : Create APKs
58
+ env :
59
+ ELEMENT_ANDROID_MAPTILER_API_KEY : ${{ secrets.MAPTILER_KEY }}
60
+ ELEMENT_ANDROID_MAPTILER_LIGHT_MAP_ID : ${{ secrets.MAPTILER_LIGHT_MAP_ID }}
61
+ ELEMENT_ANDROID_MAPTILER_DARK_MAP_ID : ${{ secrets.MAPTILER_DARK_MAP_ID }}
62
+ run : ./gradlew assembleFdroidRelease $CI_GRADLE_ARG_PROPERTIES
63
+ - name : Upload apks as artifact
64
+ uses : actions/upload-artifact@v4
65
+ with :
66
+ name : elementx-app-fdroid-apks-unsigned
67
+ path : |
68
+ app/build/outputs/apk/fdroid/release/*.apk
You can’t perform that action at this time.
0 commit comments