Skip to content

Commit be01827

Browse files
committed
fix publish
1 parent 9cd466d commit be01827

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,13 @@ jobs:
4545
environment: pub.dev
4646
steps:
4747
- uses: actions/checkout@v4
48-
- uses: subosito/flutter-action@v2
49-
with:
50-
channel: "stable"
48+
- uses: dart-lang/setup-dart@v1
5149
- name: Install dependencies
5250
working-directory: packages/dartcv
53-
run: flutter pub get
51+
run: dart pub get
5452
- name: Publish
5553
working-directory: packages/dartcv
56-
run: flutter pub publish --force
54+
run: dart pub publish --force
5755
publish-opencv-core:
5856
if: startsWith(github.ref, 'refs/tags/v')
5957
name: Publish opencv_core
@@ -64,6 +62,7 @@ jobs:
6462
environment: pub.dev
6563
steps:
6664
- uses: actions/checkout@v4
65+
- uses: dart-lang/setup-dart@v1
6766
- uses: subosito/flutter-action@v2
6867
with:
6968
channel: "stable"
@@ -83,6 +82,7 @@ jobs:
8382
environment: pub.dev
8483
steps:
8584
- uses: actions/checkout@v4
85+
- uses: dart-lang/setup-dart@v1
8686
- uses: subosito/flutter-action@v2
8787
with:
8888
channel: "stable"

0 commit comments

Comments
 (0)