[ci] Roll repo tool to 0.13.0 (#2831)

Picks up rename of the command to create an app that bulids all packages
together.
This commit is contained in:
stuartmorgan
2022-11-21 16:09:26 -05:00
committed by GitHub
parent 25a1206f97
commit e5c16e0740
5 changed files with 7 additions and 7 deletions

View File

@ -3,6 +3,6 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
cd all_plugins cd all_packages
flutter build windows --debug flutter build windows --debug
flutter build windows --release flutter build windows --release

View File

@ -3,5 +3,5 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
dart pub global run flutter_plugin_tools all-plugins-app \ dart pub global run flutter_plugin_tools create-all-packages-app \
--output-dir=. --exclude script/configs/exclude_all_packages_app.yaml --output-dir=. --exclude script/configs/exclude_all_packages_app.yaml

View File

@ -8,4 +8,4 @@ git fetch origin main
# Pinned version of the plugin tools, to avoid breakage in this repository # Pinned version of the plugin tools, to avoid breakage in this repository
# when pushing updates from flutter/plugins. # when pushing updates from flutter/plugins.
dart pub global activate flutter_plugin_tools 0.12.1 dart pub global activate flutter_plugin_tools 0.13.0

View File

@ -66,16 +66,16 @@ flutter_upgrade_template: &FLUTTER_UPGRADE_TEMPLATE
# together. See script/configs/exclude_all_packages_app.yaml for exceptions. # together. See script/configs/exclude_all_packages_app.yaml for exceptions.
build_all_packages_app_template: &BUILD_ALL_PACKAGES_APP_TEMPLATE build_all_packages_app_template: &BUILD_ALL_PACKAGES_APP_TEMPLATE
create_all_packages_app_script: create_all_packages_app_script:
- $PLUGIN_TOOL_COMMAND all-plugins-app --output-dir=. --exclude script/configs/exclude_all_packages_app.yaml - $PLUGIN_TOOL_COMMAND create-all-packages-app --output-dir=. --exclude script/configs/exclude_all_packages_app.yaml
build_all_packages_debug_script: build_all_packages_debug_script:
- cd all_plugins - cd all_packages
- if [[ "$BUILD_ALL_ARGS" == "web" ]]; then - if [[ "$BUILD_ALL_ARGS" == "web" ]]; then
- echo "Skipping; web does not support debug builds" - echo "Skipping; web does not support debug builds"
- else - else
- flutter build $BUILD_ALL_ARGS --debug - flutter build $BUILD_ALL_ARGS --debug
- fi - fi
build_all_packages_release_script: build_all_packages_release_script:
- cd all_plugins - cd all_packages
- flutter build $BUILD_ALL_ARGS --release - flutter build $BUILD_ALL_ARGS --release
# Light-workload Linux tasks. # Light-workload Linux tasks.

View File

@ -31,7 +31,7 @@ jobs:
with: with:
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version. fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
- name: Set up tools - name: Set up tools
run: dart pub global activate flutter_plugin_tools 0.12.1 run: dart pub global activate flutter_plugin_tools 0.13.0
# # This workflow should be the last to run. So wait for all the other tests to succeed. # # This workflow should be the last to run. So wait for all the other tests to succeed.
- name: Wait on all tests - name: Wait on all tests