From a1865702e37eef13b78fb73a96aa522581d86cee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sun, 21 Jul 2024 14:59:09 +0200 Subject: [PATCH] ci: macos issue --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1298ec7..e1a6ee1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,12 @@ jobs: run: ${{ matrix.bootstrap }} - name: build binary - run: cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }} + if: ${{ matrix.runner == 'macos-latest' }} + run: OPENSSL_DIR=$(brew --prefix openssl@1.1) cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }} + + - name: build binary + if: ${{ matrix.runner != 'macos-latest' }} + run: OPENSSL_DIR=$(brew --prefix openssl@1.1) cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }} - name: prepare for upload shell: bash