diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index 8347de6..4f5678f 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -17,8 +17,13 @@ jobs: run: | cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release cmake --build build-cmake -j + - name: Create Package + run: | + mkdir torch-release + mv build-cmake/torch torch-release/ + mv /lib/libbz2.so.1.0 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: build-cmake/torch \ No newline at end of file diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 0bf6acd..361ffb2 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 16 2019" -T v142 -A x64 -DCMAKE_BUILD_TYPE=Release - cmake --build build-cmake -j + cmake --build .\build\x64 - name: Publish packaged artifacts uses: actions/upload-artifact@v4 with: