Merge pull request #2 from BriLeighk/main #15
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
name: Build iOS | |
on: | |
push: | |
branches: | |
- main | |
- master # Ensure this matches your default branch | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 # Ensure you are using v3 for Node.js 20 support | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.19.5' # Specify a compatible version of Flutter | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Build iOS | |
run: flutter build ios --release --no-codesign | |
- name: List build directory for debug | |
run: find build/ios -type f | |
- name: Archive iOS build | |
if: success() | |
uses: actions/upload-artifact@v4 # Ensure you are using v3 for Node.js 20 support | |
with: | |
name: ios-build | |
path: build/ios/iphoneos/*.ipa |