Skip to content

Commit

Permalink
Githubactions: Fix PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Aug 11, 2023
1 parent 61f6027 commit 9b02d6c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,12 @@ jobs:
OUTPUT=$GITHUB_WORKSPACE/$PLATFORM/yubihsm-setup
mkdir -p $OUTPUT
export PATH=$PATH:~/.cargo/bin
echo "GITHUB_WORKSPACE= $GITHUB_WORKSPACE"
ls $GITHUB_WORKSPACE/
ls $GITHUB_WORKSPACE/yubihsm-shell/build/lib
export PATH=$PATH:$HOME/.cargo/bin
#YUBIHSM_LIB_DIR=$(dpkg -L libyubihsm1 | grep -e "libyubihsm.so.2$" | xargs dirname) cargo build --release
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell/build/lib cargo build --release
strip --strip-all target/release/yubihsm-setup
cargo deb --no-build
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell/build/lib cargo deb --no-build
cp target/debian/*.deb $OUTPUT/
./target/release/yubihsm-setup version
Expand Down

0 comments on commit 9b02d6c

Please sign in to comment.