Sanmill v5.6.1 (4387) #265
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: iOS | |
on: | |
push: | |
branches: [release] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history for all branches and tags | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.24.5' | |
- name: Export environment valuables | |
run: export | |
- name: Install gsed | |
run: brew install gnu-sed | |
- name: Create App version | |
run: git fetch --tags; git tag; git log -n1; bash -x ./version.sh | |
- name: Print Flutter SDK version | |
run: flutter --version | |
- name: Install dependencies | |
run: bash -x ./flutter-init.sh | |
# Build | |
- name: Build iOS | |
run: cd src/ui/flutter_app; flutter build ios -v --release --no-codesign | |
# Archive ipa | |
- name: Archive ipa | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ios-app-release | |
path: src/ui/flutter_app/build/ios/iphoneos/Runner.app |