From e8e253314980fc28874c6e6f6f0cbffd258e5e1d Mon Sep 17 00:00:00 2001 From: YaoerWu <76507621+YaoerWu@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:41:07 +0800 Subject: [PATCH] t --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b51b52..ee92cba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,13 +21,13 @@ jobs: os: ubuntu-latest target: x86_64-unknown-linux-gnu - # - build: macos - # os: macos-latest - # target: x86_64-apple-darwin + - build: macos + os: macos-latest + target: x86_64-apple-darwin - # - build: macos-arm - # os: macos-latest - # target: aarch64-apple-darwin + - build: macos-arm + os: macos-latest + target: aarch64-apple-darwin - build: windows-gnu os: windows-latest @@ -66,9 +66,9 @@ jobs: if [ "${{ matrix.os }}" = "windows-latest" ]; then mv "target/${{ matrix.target }}/release/$binary_name.dll" "$dirname" elif [ "${{ matrix.os }}" = "macos-latest" ]; then - mv "target/${{ matrix.target }}/release/$binary_name.dylib" "$dirname" + mv "target/${{ matrix.target }}/release/lib$binary_name.dylib" "$dirname" else - mv "target/${{ matrix.target }}/release/$binary_name.so" "$dirname" + mv "target/${{ matrix.target }}/release/lib$binary_name.so" "$dirname" fi if [ "${{ matrix.os }}" = "windows-latest" ]; then