ci: macos issue

This commit is contained in:
Jozef Steinhübl 2024-07-21 14:59:09 +02:00
parent 2c7283d23f
commit a1865702e3
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -58,7 +58,12 @@ jobs:
run: ${{ matrix.bootstrap }} run: ${{ matrix.bootstrap }}
- name: build binary - 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 - name: prepare for upload
shell: bash shell: bash