From d839c920e3f6dd0b58090ca4827819b69cc1484f Mon Sep 17 00:00:00 2001 From: jadamcrain Date: Sun, 8 Oct 2023 10:46:04 -0700 Subject: [PATCH] fix target dir --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88fc0d6b..eac2f2ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,8 +165,8 @@ jobs: run: cargo build -p rodbus-ffi-java --release --message-format json > ffi-modules/${{ matrix.job.target }}/build.jni.log - name: Copy the FFI and JNI libs run: | - cp ./${{ matrix.target }}/release/librodbus_ffi.dylib ./ffi-modules/${{ matrix.target }} - cp ./${{ matrix.target }}/release/librodbus_ffi_java.dylib ./ffi-modules/${{ matrix.target }} + cp ./target/release/librodbus_ffi.dylib ./ffi-modules/${{ matrix.job.target }} + cp ./target/release/librodbus_ffi_java.dylib ./ffi-modules/${{ matrix.job.target }} - name: Upload compiled FFI modules uses: actions/upload-artifact@v3 with: