-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01ff825
commit fada7fd
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |