Skip to content

Commit

Permalink
Special release config for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lolleko committed May 26, 2023
1 parent 735a62c commit 4c1aa0e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ jobs:
env:
VCPKG_DEFAULT_TRIPLET: ${{ env.VCPKG_DEFAULT_TRIPLET }}
- run: cmake -DCMAKE_BUILD_TYPE=Release -Bbuild
- run: cmake -DCMAKE_BUILD_TYPE=Release --build build
if: matrix.os != 'windows-latest'
- run: cmake --config Release -Bbuild
if: matrix.os == 'windows-latest'
- run: cmake --build build
- name: Package
if: startsWith(github.ref, 'refs/tags')
run: cmake -DCMAKE_BUILD_TYPE=Release --build build --target package
run: cmake --build build --target package
- run: mv build/voxelscape.zip build/voxelscape-${{ env.VCPKG_DEFAULT_TRIPLET }}.zip
if: startsWith(github.ref, 'refs/tags')
- name: Release
Expand Down

0 comments on commit 4c1aa0e

Please sign in to comment.