diff options
| author | coco875 <pereira.jannin@gmail.com> | 2024-01-24 23:18:16 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-01-24 16:52:59 -0600 |
| commit | ec3e74dfcdb48c07fe55a2e24d05007e41c817f6 (patch) | |
| tree | a53d3aa36fc62a683e3d038cd1f25f677c099c31 | |
| parent | 91e0e67daee475648b3ba4b15ff3934f99e6433c (diff) | |
update linux path normally
| -rw-r--r-- | .github/workflows/linux_build.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/windows_build.yml | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 8fe3b3c..47d1d69 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -14,7 +14,7 @@ jobs: - name: Build run: | cmake -S . -B "build/x64" -G "Visual Studio 17 2022" -T v142 -A x64 -DCMAKE_BUILD_TYPE=Release - cmake --build .\build\x64 + cmake --build ./build/x64 - name: Publish packaged artifacts uses: actions/upload-artifact@v4 with: |
