diff --git a/.github/workflows/pre_release_github.yml b/.github/workflows/pre_release_github.yml index 53f7bb7..b0406d1 100644 --- a/.github/workflows/pre_release_github.yml +++ b/.github/workflows/pre_release_github.yml @@ -59,6 +59,13 @@ jobs: export PKG_CONFIG_PATH=$OPENSSL_DIR/lib/pkgconfig echo "OPENSSL_DIR=$OPENSSL_DIR" >> $GITHUB_ENV echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV + + # Install Rust targets for macOS universal binary + - name: Install Rust targets for macOS universal binary + if: matrix.platform.release_for == 'macOS-universal' + run: | + rustup target add x86_64-apple-darwin + rustup target add aarch64-apple-darwin # Build binary for universal macOS target - name: Build macOS universal binary