File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,31 @@ jobs:
42
42
UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
43
43
with :
44
44
targetPlatform : Android
45
+ androidExportType : ' androidAppBundle'
45
46
unityVersion : 2021.3.11f1
46
47
androidKeystoreName : springman # This file won't exist, but this property needs to exist.
47
48
androidKeystoreBase64 : ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
48
49
androidKeystorePass : ${{ secrets.ANDROID_KEYSTORE_PASS }}
49
50
androidKeyaliasName : ${{ secrets.ANDROID_KEYALIAS_NAME }}
50
51
androidKeyaliasPass : ${{ secrets.ANDROID_KEYALIAS_PASS }}
51
52
52
- # Output
53
53
- uses : actions/upload-artifact@v4
54
54
with :
55
55
name : Build
56
56
path : build
57
+
58
+ - name : Convert aab to apk
59
+ id : convert_aab
60
+ uses :
mukeshsolanki/[email protected]
61
+ with :
62
+ aabFile : build/Android/Android.aab
63
+ base64Keystore : ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
64
+ keystorePassword : ${{ secrets.ANDROID_KEYSTORE_PASS }}
65
+ keystoreAlias : ${{ secrets.ANDROID_KEYALIAS_NAME }}
66
+ keyPassword : ${{ secrets.ANDROID_KEYALIAS_PASS }}
67
+
68
+ - uses : actions/upload-artifact@v4
69
+ with :
70
+ name : release-apk
71
+ path : ${{ steps.convert_aab.outputs.apkPath }}
72
+
You can’t perform that action at this time.
0 commit comments