ci: ci 和 nightly 打出来的包不带 updater

This commit is contained in:
uye
2026-04-22 03:39:47 +08:00
parent 4ce5e9bf97
commit b7598d8f66
4 changed files with 9 additions and 0 deletions

View File

@@ -133,6 +133,7 @@ jobs:
run: |
cmake -B build --preset ${{ matrix.arch == 'arm64' && 'windows-publish-arm64' || 'windows-publish-x64' }} -DMAA_HASH_VERSION='${{ needs.meta.outputs.tag }}'
cmake --build --preset ${{ matrix.arch == 'arm64' && 'windows-publish-arm64' || 'windows-publish-x64' }} --parallel $env:NUMBER_OF_PROCESSORS
cmake --build build --target MAA.Updater --config RelWithDebInfo --parallel $env:NUMBER_OF_PROCESSORS
cmake --install build --config RelWithDebInfo
- name: Download MaaFramework

View File

@@ -188,6 +188,7 @@ jobs:
run: |
cmake -B build --preset ${{ matrix.arch == 'arm64' && 'windows-publish-arm64' || 'windows-publish-x64' }} -DMAA_HASH_VERSION='${{ steps.set_tag.outputs.tag }}'
cmake --build --preset ${{ matrix.arch == 'arm64' && 'windows-publish-arm64' || 'windows-publish-x64' }} --parallel $env:NUMBER_OF_PROCESSORS
cmake --build build --target MAA.Updater --config RelWithDebInfo --parallel $env:NUMBER_OF_PROCESSORS
cmake --install build --config RelWithDebInfo
- name: Download MaaFramework

View File

@@ -181,6 +181,9 @@
"publish-base",
"windows-x64"
],
"cacheVariables": {
"BUILD_WPF_GUI": "ON"
},
"$comment": [
"github actions only support Visual Studio 17 2022",
"see https://github.com/actions/runner-images/issues/13291"
@@ -194,6 +197,9 @@
"publish-base",
"windows-arm64"
],
"cacheVariables": {
"BUILD_WPF_GUI": "ON"
},
"$comment": [
"github actions only support Visual Studio 17 2022",
"see https://github.com/actions/runner-images/issues/13291"

View File

@@ -1,4 +1,5 @@
cd..
cmake --build build --target MAA.Updater --config RelWithDebInfo
cmake --install build --config RelWithDebInfo --prefix ./install
dotnet publish src/MaaWpfGui/MaaWpfGui.csproj -c Release -o install -p:Platform=x64
del /f .\install\*.h