summaryrefslogtreecommitdiff
path: root/.github/workflows/linux_build.yml
diff options
context:
space:
mode:
authorcoco875 <pereira.jannin@gmail.com>2024-01-24 23:18:16 +0100
committerLywx <kiritodev01@gmail.com>2024-01-24 16:52:59 -0600
commitec3e74dfcdb48c07fe55a2e24d05007e41c817f6 (patch)
treea53d3aa36fc62a683e3d038cd1f25f677c099c31 /.github/workflows/linux_build.yml
parent91e0e67daee475648b3ba4b15ff3934f99e6433c (diff)
update linux path normally
Diffstat (limited to '.github/workflows/linux_build.yml')
-rw-r--r--.github/workflows/linux_build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml
index d532d06..18e0776 100644
--- a/.github/workflows/linux_build.yml
+++ b/.github/workflows/linux_build.yml
@@ -21,9 +21,9 @@ jobs:
run: |
mkdir torch-release
mv build-cmake/torch torch-release/
- cp /usr/local/lib/libbz2.so.1.0 torch-release/
+ cp "$(ldconfig -p | grep libbz2.so.1.0 | tr ' ' '\n' | grep /| head -n1)" torch-release/
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
name: linux-x64
- path: build-cmake/torch \ No newline at end of file
+ path: torch-release \ No newline at end of file