mirror of
https://github.com/flutter/packages.git
synced 2025-07-01 07:08:10 +08:00
[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:
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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.
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user