Skip to content

Update flutter-ios.yml #11

Update flutter-ios.yml

Update flutter-ios.yml #11

Workflow file for this run

name: Build and distribute
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches:
- master
jobs:
build-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cedvdb/action-flutter-build-web@v1
with:
build-cmd: flutter build web --release --base-href /flutter_quiz/
working-directory: ./
- name: Archive Production artifact
uses: actions/upload-artifact@v2
with:
name: release
path: build/web
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: build/web
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
build-apple:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/flutter-ios.yml
with:
# always use --export-options-plist=ios/GithubActionsExportOptions.plist
build-cmd: flutter build ipa --release --flavor dev --export-options-plist=ios/GithubActionsExportOptions.plist
working-directory: ./
- name: Archive IPA
uses: actions/upload-artifact@v2
with:
name: release-ipa
# Try running the build locally with the build command to be sure of this path
path: build/ios/ipa/App-dev.ipa