From a4bcb79a779f05224bcd8acdaae522fd7f1d7399 Mon Sep 17 00:00:00 2001 From: Kirill Starkov Date: Fri, 29 Dec 2023 13:24:14 +0300 Subject: [PATCH] asd --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd8acf096..d8fc819f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,7 +94,13 @@ jobs: run: OPENSSL_STATIC=1 OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu OPENSSL_INCLUDE_DIR=/usr/include/openssl cargo build --release --target-dir dist/ - name: Build artifact - if: matrix.target != 'x86_64-unknown-linux-gnu' + if: matrix.target == 'aarch64-apple-darwin' + run: | + cargo build --release --target-dir dist/ --target aarch64-apple-darwin + mv ./dist/aarch64-apple-darwin/release/refact-lsp ./dist/release/refact-lsp + + - name: Build artifact + if: matrix.target != 'x86_64-unknown-linux-gnu' && matrix.target != 'aarch64-apple-darwin' run: cargo build --release --target-dir dist/ - name: Upload artifacts