avoid create package uselessly

This commit is contained in:
coco875
2025-08-06 09:16:54 -06:00
committed by Lywx
parent 0d9616d704
commit 1fd0404a76
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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/
+1
View File
@@ -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/