From 0a3e3f6cbd4aa7335c357178a4b715f1201e924d Mon Sep 17 00:00:00 2001 From: Abe Winter Date: Wed, 6 Sep 2023 13:25:11 -0400 Subject: [PATCH] include .a in release upload --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fad55f..b6eef8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,7 +106,9 @@ jobs: run: | cargo build --release --target=${{ matrix.target }} - name: Copy - run: cp target/${{ matrix.target }}/release/libviam_rust_utils.dylib builds/libviam_rust_utils-${{ matrix.platform }}.dylib + run: | + cp target/${{ matrix.target }}/release/libviam_rust_utils.dylib builds/libviam_rust_utils-${{ matrix.platform }}.dylib + cp target/${{ matrix.target }}/release/libviam_rust_utils.a builds/libviam_rust_utils-${{ matrix.platform }}.a - name: Correct install path run: | install_name_tool -id "@rpath/libviam_rust_utils.dylib" builds/libviam_rust_utils-${{ matrix.platform }}.dylib @@ -154,7 +156,9 @@ jobs: source "$HOME/.cargo/env" cargo build --release --target=${{ matrix.target }} - name: Copy - run: cp target/${{ matrix.target }}/release/libviam_rust_utils.so builds/libviam_rust_utils-${{ matrix.platform }}.so + run: | + cp target/${{ matrix.target }}/release/libviam_rust_utils.so builds/libviam_rust_utils-${{ matrix.platform }}.so + cp target/${{ matrix.target }}/release/libviam_rust_utils.a builds/libviam_rust_utils-${{ matrix.platform }}.a - name: Upload artifacts uses: actions/upload-artifact@v3 with: