Skip to content

Commit b51befc

Browse files
committed
optimize build
1 parent 887f9f4 commit b51befc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
rustup default 1.76.0-x86_64-unknown-linux-gnu
2525
- name: Build Linux
2626
run: |
27-
cargo build
27+
cargo build --release
2828
- uses: actions/upload-artifact@v4
2929
with:
30-
path: "target/debug/libdrift_ffi_sys.so"
30+
path: "target/release/libdrift_ffi_sys.so"
3131
name: libdrift_ffi_sys.so
3232
publish-mac:
3333
runs-on: macos-latest
@@ -44,8 +44,8 @@ jobs:
4444
cargo build
4545
- name: Build Mac
4646
run: |
47-
cargo build
47+
cargo build --release
4848
- uses: actions/upload-artifact@v4
4949
with:
50-
path: "target/debug/libdrift_ffi_sys.dylib"
50+
path: "target/release/libdrift_ffi_sys.dylib"
5151
name: libdrift_ffi_sys.dylib

0 commit comments

Comments
 (0)