You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/null_safety/codelab_rebuild.yaml

50 lines
1.3 KiB

# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
name: Null Safety rebuild script
steps:
- name: null_safe_app
steps:
- name: Remove runners
path: null_safe_app
rmdirs:
- android
- ios
- linux
- macos
- web
- windows
- name: Rebuild Runners
path: null_safe_app
flutter: create .
- name: Update deps
path: null_safe_app
flutter: pub upgrade --major-versions
- name: Build for macOS
path: null_safe_app
flutter: build macos
- name: Build for iOS
path: null_safe_app
flutter: build ios --simulator
- name: null_unsafe_app
steps:
- name: Remove runners
path: null_unsafe_app
rmdirs:
- android
- ios
- linux
- macos
- web
- windows
- name: Rebuild Runners
path: null_unsafe_app
flutter: create .
- name: Update deps
path: null_unsafe_app
flutter: pub upgrade --major-versions
- name: Build for macOS
path: null_unsafe_app
flutter: build macos
- name: Build for iOS
path: null_unsafe_app
flutter: build ios --simulator