mirror of
https://github.com/cogwheel0/conduit.git
synced 2026-10-19 17:53:43 +00:00
Run build_runner across workspace in release workflow
This commit is contained in:
parent
d0c06ab54d
commit
566cdd6d57
1 changed files with 20 additions and 4 deletions
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
|
|
@ -97,8 +97,16 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Generate code (build_runner)
|
||||
run: dart run build_runner build --delete-conflicting-outputs
|
||||
- name: Generate code in workspace
|
||||
shell: bash
|
||||
run: |
|
||||
for dir in . packages/* apps/*; do
|
||||
if [ -f "$dir/pubspec.yaml" ] && grep -q '^ build_runner:' "$dir/pubspec.yaml"; then
|
||||
echo "::group::build_runner in $dir"
|
||||
(cd "$dir" && dart run build_runner build)
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
||||
|
|
@ -166,8 +174,16 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Generate code (build_runner)
|
||||
run: dart run build_runner build --delete-conflicting-outputs
|
||||
- name: Generate code in workspace
|
||||
shell: bash
|
||||
run: |
|
||||
for dir in . packages/* apps/*; do
|
||||
if [ -f "$dir/pubspec.yaml" ] && grep -q '^ build_runner:' "$dir/pubspec.yaml"; then
|
||||
echo "::group::build_runner in $dir"
|
||||
(cd "$dir" && dart run build_runner build)
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue