Skip to content

テストビルド(iOS) #5

テストビルド(iOS)

テストビルド(iOS) #5

Workflow file for this run

name: テストビルド(iOS)
on: [workflow_dispatch]
jobs:
build_for_iOS:
name: iOS用テストビルド
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_FVM_VERSION }}
cache: true
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- name: Cache pubspec dependencies
uses: actions/cache@v4
with:
path: |
${{ env.FLUTTER_HOME }}/.pub-cache
**/.packages
**/.flutter-plugins
**/.flutter-plugin-dependencies
**/.dart_tool/package_config.json
key: build-pubspec-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
build-pubspec-
- name: Create symbolic link
run: ln -s ${{ env.FLUTTER_ROOT }} $HOME/work/flutter
- name: Flutter pub get
run: flutter pub get
- name: Run flutter test with coverage
run: flutter test --coverage --coverage-path=~/coverage/lcov.info
- name: Create archive file
run: flutter build ipa --no-tree-shake-icons --release --no-codesign