File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,15 @@ jobs:
45
45
env :
46
46
VCPKG_DEFAULT_TRIPLET : ${{ env.VCPKG_DEFAULT_TRIPLET }}
47
47
- run : cmake -DCMAKE_BUILD_TYPE=Release -Bbuild
48
- if : matrix.os != 'windows-latest'
49
- - run : cmake --config Release -Bbuild
48
+ - run : cmake --build build --config Release
50
49
if : matrix.os == 'windows-latest'
50
+ - name : Package
51
+ if : startsWith(github.ref, 'refs/tags') && matrix.os == 'windows-latest'
52
+ run : cmake --build build --target package --config Release
51
53
- run : cmake --build build
54
+ if : matrix.os != 'windows-latest'
52
55
- name : Package
53
- if : startsWith(github.ref, 'refs/tags')
56
+ if : startsWith(github.ref, 'refs/tags') && matrix.os != 'windows-latest'
54
57
run : cmake --build build --target package
55
58
- run : mv build/voxelscape.zip build/voxelscape-${{ env.VCPKG_DEFAULT_TRIPLET }}.zip
56
59
if : startsWith(github.ref, 'refs/tags')
You can’t perform that action at this time.
0 commit comments