File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,31 @@ jobs:
4242 UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
4343 with :
4444 targetPlatform : Android
45+ androidExportType : ' androidAppBundle'
4546 unityVersion : 2021.3.11f1
4647 androidKeystoreName : springman # This file won't exist, but this property needs to exist.
4748 androidKeystoreBase64 : ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
4849 androidKeystorePass : ${{ secrets.ANDROID_KEYSTORE_PASS }}
4950 androidKeyaliasName : ${{ secrets.ANDROID_KEYALIAS_NAME }}
5051 androidKeyaliasPass : ${{ secrets.ANDROID_KEYALIAS_PASS }}
5152
52- # Output
5353 - uses : actions/upload-artifact@v4
5454 with :
5555 name : Build
5656 path : build
57+
58+ - name : Convert aab to apk
59+ id : convert_aab
60+ uses : mukeshsolanki/bundletool-action@v1.0.0
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