chore(ci): upload iOS build artifacts to releases

This commit is contained in:
Makito
2026-04-05 01:44:58 +09:00
parent 7d88e05fa1
commit f4b61c69e1
2 changed files with 25 additions and 0 deletions
+19
View File
@@ -6,6 +6,16 @@ permissions:
on:
workflow_dispatch:
inputs:
build_only:
description: Build only (no upload to release)
required: false
default: false
type: boolean
tag:
description: Specific tag for the release upload
required: false
type: string
jobs:
build:
@@ -13,6 +23,7 @@ jobs:
runs-on: macos-26
env:
PRODUCT_NAME: 'AIRI'
VITE_ENABLE_POSTHOG: 'true'
steps:
- uses: actions/checkout@v6
@@ -112,6 +123,14 @@ jobs:
path: ${{ runner.temp }}/output/${{ env.IPA_NAME }}
if-no-files-found: error
- name: Upload to GitHub Releases
if: ${{ github.event_name == 'workflow_dispatch' && !inputs.build_only }}
uses: softprops/action-gh-release@v2
with:
files: ${{ runner.temp }}/output/${{ env.IPA_NAME }}
append_body: true
tag_name: ${{ inputs.tag }}
- name: Clean up signing
if: always()
run: |