diff --git a/.github/workflows/aft.yaml b/.github/workflows/aft.yaml index 7d7fec8aa8..7bb08071ed 100644 --- a/.github/workflows/aft.yaml +++ b/.github/workflows/aft.yaml @@ -39,8 +39,7 @@ jobs: # Patch libgit2dart (see https://github.com/dart-lang/pub/issues/3563) ( cd external/libgit2dart; git apply ../libgit2dart.patch ) dart pub upgrade - mkdir -p .dart_tool/libgit2 - cp external/libgit2dart/linux/*.so .dart_tool/libgit2 + sudo cp external/libgit2dart/linux/*.so /usr/local/lib - name: Run Tests working-directory: packages/aft diff --git a/packages/aft/workflow.yaml b/packages/aft/workflow.yaml index 7d7fec8aa8..7bb08071ed 100644 --- a/packages/aft/workflow.yaml +++ b/packages/aft/workflow.yaml @@ -39,8 +39,7 @@ jobs: # Patch libgit2dart (see https://github.com/dart-lang/pub/issues/3563) ( cd external/libgit2dart; git apply ../libgit2dart.patch ) dart pub upgrade - mkdir -p .dart_tool/libgit2 - cp external/libgit2dart/linux/*.so .dart_tool/libgit2 + sudo cp external/libgit2dart/linux/*.so /usr/local/lib - name: Run Tests working-directory: packages/aft