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