mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
avoid create package uselessly
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user