From 7b14162b0417b96480613ef164fb75604534ec67 Mon Sep 17 00:00:00 2001 From: jordy25519 Date: Fri, 4 Oct 2024 11:54:05 +0800 Subject: [PATCH] set env on whole step --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a617662..1b76fc6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,9 @@ jobs: # add libdrift_ffi_sys curl -L https://github.com/user-attachments/files/17160233/libdrift_ffi_sys.so.zip > ffi.zip unzip ffi.zip - sudo mv libdrift_ffi_sys.so /usr/lib + sudo mv libdrift_ffi_sys.so $CARGO_DRIFT_FFI_SYS rm ffi.zip # clean up for git # publish to crates.io - CARGO_DRIFT_FFI_SYS="/usr/lib" cargo publish + cargo publish --dry-run + env: + CARGO_DRIFT_FFI_SYS: '/usr/lib'