GitHub Actions+Fastlane构建Flutter iOS时日志截断问题求助
Flutter iOS构建在GitHub Actions中超时且日志截断问题
我正在使用GitHub Actions和Fastlane,基于提交记录与PR将Flutter应用发布至App Store。但发现当Action执行flutter build ios --release --no-codesign命令时,任务耗时超过30分钟,最终出现提示:“此步骤因内容过大已截断,workflow运行完成后可从菜单下载完整日志”。
相关截图:
我的cd.yml配置文件如下:
# cd.yml name: CD on: pull_request: types: - closed branches: - 'main' jobs: deploy_ios: name: Deploy beta build to TestFlight runs-on: macos-latest steps: - name: Checkout code from ref uses: actions/checkout@v2 with: ref: ${{github.ref}} - name: Run Flutter tasks uses: subosito/flutter-action@v1 with: flutter-version: '3.3.3' - run: flutter pub get - run: flutter build ios --release --no-codesign - name: increment major if: "contains(github.event.pull_request.title, 'major')" uses: maierj/fastlane-action@v1.4.0 with: lane: update_major subdirectory: ios - name: increment minor if: "contains(github.event.pull_request.title, 'minor')" uses: maierj/fastlane-action@v1.4.0 with: lane: update_minor subdirectory: ios - name: increment patch if: "contains(github.event.pull_request.title, 'patch')" uses: maierj/fastlane-action@v1.4.0 with: lane: update_patch subdirectory: ios - name: Deploy iOS Beta to TestFlight via Fastlane uses: maierj/fastlane-action@v1.4.0 with: lane: _release_candidate subdirectory: ios - uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Auto Commit env: APP_STORE_CONNECT_TEAM_ID: '${{ secrets.APP_STORE_CONNECT_TEAM_ID }}' DEVELOPER_APP_ID: '${{ secrets.DEVELOPER_APP_ID }}' DEVELOPER_APP_IDENTIFIER: '${{ secrets.DEVELOPER_APP_IDENTIFIER }}' DEVELOPER_PORTAL_TEAM_ID: '${{ secrets.DEVELOPER_PORTAL_TEAM_ID }}' FASTLANE_APPLE_ID: '${{ secrets.FASTLANE_APPLE_ID }}' FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: '${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}' MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}' GIT_AUTHORIZATION: '${{ secrets.GIT_AUTHORIZATION }}' PROVISIONING_PROFILE_SPECIFIER: '${{ secrets.PROVISIONING_PROFILE_SPECIFIER }}' TEMP_KEYCHAIN_PASSWORD: '${{ secrets.TEMP_KEYCHAIN_PASSWORD }}' TEMP_KEYCHAIN_USER: '${{ secrets.TEMP_KEYCHAIN_USER }}'
内容的提问来源于stack exchange,提问作者Hassan Chmsdn
相关产品推荐
相关产品推荐

