@@ -193,6 +193,21 @@ jobs:
193193 - name : Build Android app
194194 run : |
195195 pnpm tauri android build --verbose
196+ - name : Rename build artifacts
197+ run : |
198+ mv ./src-tauri/gen/android/app/build/outputs/apk/universal/release/*.apk ./octo-${{ env.APP_VERSION }}-universal.apk
199+ mv ./src-tauri/gen/android/app/build/outputs/bundle/universalRelease/*.aab ./octo-${{ env.APP_VERSION }}-universal.aab
200+ - name : Release
201+ uses : softprops/action-gh-release@v2
202+ with :
203+ draft : true
204+ files : |
205+ ./octo-${{ env.APP_VERSION }}-universal.apk
206+ ./octo-${{ env.APP_VERSION }}-universal.aab
207+ make_latest : true
208+ name : App ${{ env.APP_VERSION }}
209+ tag_name : app-${{ env.APP_VERSION }}
210+ target_commitish : ${{ github.sha }}
196211 build-mobile-ios :
197212 runs-on : macos-latest
198213 env :
@@ -233,6 +248,19 @@ jobs:
233248 APPLE_SIGNING_IDENTITY : ${{ steps.import-certificate.outputs.certificate-id }}
234249 run : |
235250 pnpm tauri ios build --verbose --export-method app-store-connect
251+ - name : Rename build artifacts
252+ run : |
253+ mv ./src-tauri/gen/apple/build/arm64/octo.ipa ./octo-${{ env.APP_VERSION }}-arm64.ipa
254+ - name : Release
255+ uses : softprops/action-gh-release@v2
256+ with :
257+ draft : true
258+ files : |
259+ ./octo-${{ env.APP_VERSION }}-arm64.ipa
260+ make_latest : true
261+ name : App ${{ env.APP_VERSION }}
262+ tag_name : app-${{ env.APP_VERSION }}
263+ target_commitish : ${{ github.sha }}
236264 # - uses: tauri-apps/tauri-action@v0
237265 # env:
238266 # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments