mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-22 06:01:06 +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
|
- target: x86_64-apple-darwin
|
||||||
runner: macos-latest
|
runner: macos-latest
|
||||||
archive: tar.gz
|
archive: tar.gz
|
||||||
bootstrap: brew install openssl pkg-config
|
bootstrap: echo 'export OPENSSL_DIR=$(brew --prefix openssl@3)' >> $GITHUB_ENV
|
||||||
- target: aarch64-apple-darwin
|
- target: aarch64-apple-darwin
|
||||||
runner: macos-latest
|
runner: macos-latest
|
||||||
archive: tar.gz
|
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
|
- target: x86_64-pc-windows-msvc
|
||||||
runner: windows-latest
|
runner: windows-latest
|
||||||
|
@ -58,12 +58,7 @@ jobs:
|
||||||
run: ${{ matrix.bootstrap }}
|
run: ${{ matrix.bootstrap }}
|
||||||
|
|
||||||
- name: build binary
|
- name: build binary
|
||||||
if: ${{ matrix.runner == 'macos-latest' }}
|
run: cargo build -p discord-presence-lsp --verbose --locked --release --target ${{ matrix.target }}
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue