Skip to content

Commit

Permalink
set env on whole step
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Oct 4, 2024
1 parent 505ed1d commit 7b14162
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 7b14162

Please sign in to comment.