Skip to content

Commit

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

0 comments on commit 2ff8d3e

Please sign in to comment.