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 fd0f8a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ 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

- 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 All @@ -103,6 +107,7 @@ jobs:
name: dist-${{ matrix.target }}
if-no-files-found: ignore
path: |
./dist/aarch64-apple-darwin/release/refact-lsp
./dist/release/refact-lsp
./dist/release/refact-lsp.exe
Expand Down

0 comments on commit fd0f8a4

Please sign in to comment.