mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-12-22 12:11:05 +01:00
ci: export openssl_dir in macos
This commit is contained in:
parent
a1865702e3
commit
e67bfbf9ae
1 changed files with 3 additions and 8 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -35,11 +35,11 @@ jobs:
|
|||
- target: x86_64-apple-darwin
|
||||
runner: macos-latest
|
||||
archive: tar.gz
|
||||
bootstrap: brew install openssl pkg-config
|
||||
bootstrap: echo 'export OPENSSL_DIR=$(brew --prefix openssl@3)' >> $GITHUB_ENV
|
||||
- target: aarch64-apple-darwin
|
||||
runner: macos-latest
|
||||
archive: tar.gz
|
||||
bootstrap: brew install openssl pkg-config
|
||||
bootstrap: echo 'export OPENSSL_DIR=$(brew --prefix openssl@3)' >> $GITHUB_ENV
|
||||
|
||||
- target: x86_64-pc-windows-msvc
|
||||
runner: windows-latest
|
||||
|
@ -58,12 +58,7 @@ jobs:
|
|||
run: ${{ matrix.bootstrap }}
|
||||
|
||||
- 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: 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 }}
|
||||
run: cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }}
|
||||
|
||||
- name: prepare for upload
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue