Skip to content

Commit

Permalink
[ci] 使用 mypack_nuget 目标打包 NuGet 包
Browse files Browse the repository at this point in the history
  • Loading branch information
WentsingNee committed Nov 21, 2024
1 parent 60225bc commit 28e336c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/KerbalBuildTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,17 @@ jobs:
-B ${{github.workspace}}/Kerbal-pack/
-DCMAKE_BUILD_TYPE=Release
-DCPACK_BUNDLE_NAME="Kerbal"
-DKERBAL_ENABLE_MYPACK_NUGET=ON
cd ${{github.workspace}}/Kerbal-pack/
cpack -G "${{matrix.cpack_generators}}"
- name: CPack Kerbal (MyNuGet)
if: matrix.os == 'windows-latest'
run: >
cmake --build ${{github.workspace}}/Kerbal-pack/ --target mypack_nuget
- name: Upload Package
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 28e336c

Please sign in to comment.