Skip to content

Commit

Permalink
Create build_app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qianmo2233 authored Dec 14, 2024
1 parent 01ff825 commit fada7fd
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build_app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build app

on:
push:
branches:
- main

jobs:
build_ios:
name: Build Unsigned iOS IPA
runs-on: macos-latest

steps:
- name: Checkout Repository
uses: actions/[email protected]

- name: Set up Flutter
uses: subosito/[email protected]
with:
flutter-version: stable

- name: Install Flutter Dependencies
run: flutter pub get

- name: Build iOS App (Unsign)
run: |
flutter build ios --no-codesign

- name: Package Unsigned IPA
run: |
mkdir -p Payload
cp -r build/ios/iphoneos/Runner.app Payload/
zip -r RankHub.ipa Payload
rm -rf Payload

- name: Upload Unsigned IPA
uses: actions/[email protected]
with:
name: Unsigned-iOS-IPA
path: RankHub.ipa

0 comments on commit fada7fd

Please sign in to comment.