add github actions ios build
This commit is contained in:
parent
5fd870c507
commit
b51749a01b
34
.github/workflows/ios.yml
vendored
Normal file
34
.github/workflows/ios.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
name: Build iOS IPA
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-ios:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Flutter
|
||||||
|
uses: subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
flutter-version: "3.32.0"
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: flutter pub get
|
||||||
|
|
||||||
|
- name: Install CocoaPods
|
||||||
|
run: |
|
||||||
|
cd ios
|
||||||
|
pod install
|
||||||
|
|
||||||
|
- name: Build IPA
|
||||||
|
run: flutter build ipa --release --no-codesign
|
||||||
|
|
||||||
|
- name: Upload IPA Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ios-ipa
|
||||||
|
path: build/ios/ipa/*.ipa
|
||||||
Loading…
x
Reference in New Issue
Block a user