summaryrefslogtreecommitdiff
path: root/.github/workflows/linux_build.yml
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2025-08-06 13:44:46 +0200
committerLywx <kiritodev01@gmail.com>2025-08-06 09:16:54 -0600
commit1fd0404a76d27f902278264ee4a7381292ee5996 (patch)
tree9f84fe1d5173de09ef23524c827af4c263e11035 /.github/workflows/linux_build.yml
parent0d9616d704dd386adfe9f7ff95c7079d02cc05ec (diff)
avoid create package uselessly
Diffstat (limited to '.github/workflows/linux_build.yml')
-rw-r--r--.github/workflows/linux_build.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml
index 14c8ae2..fc88c9a 100644
--- a/.github/workflows/linux_build.yml
+++ b/.github/workflows/linux_build.yml
@@ -22,6 +22,7 @@ jobs:
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DUSE_STANDALONE=${{ matrix.standalone }}
cmake --build build-cmake -j
- name: Create Package
+ if: ${{ matrix.config == 'Release' && matrix.standalone == 'ON' }}
run: |
mkdir torch-release
mv build-cmake/torch torch-release/