Skip to content

Commit 9f6fb67

Browse files
committed
build(release): update ci
1 parent 2af065b commit 9f6fb67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ jobs:
3737
if: matrix.os == 'macos-latest'
3838
run: |
3939
cd packages/command/
40+
dart pub get
4041
mkdir -p bin/${{ matrix.target }}
4142
dart2native bin/flutter_gen_command.dart -o bin/${{ matrix.target }}/fluttergen
4243
4344
- name: Running build for ubuntu
4445
if: matrix.os == 'ubuntu-latest'
4546
run: |
4647
cd packages/command/
48+
/usr/lib/dart/bin/pub get
4749
mkdir -p bin/${{ matrix.target }}
4850
/usr/lib/dart/bin/dart2native bin/flutter_gen_command.dart -o bin/${{ matrix.target }}/fluttergen
4951

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ setup-ubuntu:
4545
sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
4646
sudo apt-get update
4747
sudo apt-get install dart
48-
/usr/lib/dart/bin/pub get
4948

5049
setup-macos:
5150
brew tap dart-lang/dart
5251
brew install dart
53-
dart pub get

0 commit comments

Comments
 (0)