Skip to content

Commit a824cf1

Browse files
committed
cd: finish the run.sh for linux build
Signed-off-by: Jack Lau <[email protected]>
1 parent a0a67c5 commit a824cf1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/review.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ jobs:
9494
cp $BMF_ROOT_PATH/lib/libbmf_py_loader.so src/build/lib
9595
cp $BMF_ROOT_PATH/BUILTIN_CONFIG.json src/build
9696
touch src/build/run.sh
97-
echo export LD_LIBRARY_PATH="./lib" >> src/build/run.sh
97+
echo export LD_LIBRARY_PATH="~/.local/share/OpenConverter/Python.framework/lib:./lib" >> src/build/run.sh
9898
echo ./AppRun >> src/build/run.sh
9999
cp src/resources/requirements.txt src/build/requirements.txt
100+
cp -r $BMF_ROOT_PATH ./
100101
101102
# Step to package the build directory
102103
- name: Create tar.gz package
@@ -106,7 +107,7 @@ jobs:
106107
OUTPUT_DIR="OpenConverter_Linux_${{ matrix.arch }}"
107108
mkdir -p $OUTPUT_DIR
108109
cp -r $BUILD_DIR/* $OUTPUT_DIR/
109-
tar -czvf $PACKAGE_NAME -C $OUTPUT_DIR .
110+
tar -czvf $PACKAGE_NAME $OUTPUT_DIR
110111
rm -rf $OUTPUT_DIR
111112
112113
# Step to upload the tar.gz package as an artifact

0 commit comments

Comments
 (0)