Skip to content

Commit d3eae02

Browse files
committed
fix workflow
1 parent da2d366 commit d3eae02

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build_macos_arm64.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ jobs:
3333
with:
3434
# flutter-version: '3.16.9'
3535
channel: "stable"
36-
- name: Run Test
37-
run: |
38-
export "LD_LIBRARY_PATH=$GITHUB_WORKSPACE/macos:$LD_LIBRARY_PATH"
39-
flutter pub get
40-
flutter test -x no-local-files
36+
4137
- uses: actions/upload-artifact@v4
4238
name: upload-libopencv_dart-macos-arm64
4339
with:
4440
path: build/publish/libopencv_dart-macos-arm64.tar.gz
4541
name: libopencv_dart-macos-arm64.tar.gz
42+
- name: Run Test
43+
run: |
44+
ls -alh $GITHUB_WORKSPACE/macos
45+
export DYLD_LIBRARY_PATH=$GITHUB_WORKSPACE/macos:$DYLD_LIBRARY_PATH
46+
flutter pub get
47+
flutter test -x no-local-files
4648
- name: Release
4749
uses: softprops/action-gh-release@v1
4850
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)