Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Dec 29, 2023
1 parent f0c2a32 commit a4bcb79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4bcb79

Please sign in to comment.