Files
PiliPlus/.github/workflows/ios.yml
bggRGjQaUbCoE 3ae3955f53 rename release files
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-10-18 13:14:05 +08:00

38 lines
901 B
YAML

name: Build for iOS
on:
workflow_call:
workflow_dispatch:
jobs:
build-macos-app:
name: Release IOS
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: pubspec.yaml
- name: Set and Extract version
shell: pwsh
run: lib/scripts/build.ps1
- name: Build iOS
run: |
flutter build ios --release --no-codesign --dart-define-from-file=pili_release.json
ln -sf ./build/ios/iphoneos Payload
zip -r9 PiliPlus_ios_${{env.version}}.ipa Payload/runner.app
- name: Upload ios release
uses: actions/upload-artifact@v4
with:
name: ios-release
path: PiliPlus_ios_*.ipa