Skip to content

Commit

Permalink
Githubactions: Fix path to libyubihsm
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Aug 11, 2023
1 parent 8c3d800 commit 8c11171
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ jobs:
apt-get update && apt-get dist-upgrade -y
apt-get install -y build-essential \
gcc \
g++ \
chrpath \
cmake \
pkg-config \
Expand Down Expand Up @@ -174,9 +172,10 @@ jobs:
echo "GITHUB_WORKSPACE= $GITHUB_WORKSPACE"
ls $GITHUB_WORKSPACE/
$GITHUB_WORKSPACE/yubihsm-shell/build/lib
#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
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell/build/lib cargo build --release
strip --strip-all target/release/yubihsm-setup
cargo deb --no-build
cp target/debian/*.deb $OUTPUT/
Expand Down

0 comments on commit 8c11171

Please sign in to comment.