mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-01 01:10:34 +08:00
build: use vs2026 in publish (#15806)
* build: publish remove Visual Studio 17 2022 * build: test vs2026 * fix: 不小心删多了 * fix: nightly 应该也要改 * fix: 这个好像也得改?
This commit is contained in:
2
.github/workflows/ci-avalonia.yml
vendored
2
.github/workflows/ci-avalonia.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: windows-x64
|
- name: windows-x64
|
||||||
os: windows-latest
|
os: windows-2025-vs2026
|
||||||
rid: win-x64
|
rid: win-x64
|
||||||
self_contained: true
|
self_contained: true
|
||||||
cmake_preset: windows-publish-x64
|
cmake_preset: windows-publish-x64
|
||||||
|
|||||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -101,7 +101,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
arch: [arm64, x64]
|
arch: [arm64, x64]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: windows-latest
|
runs-on: windows-2025-vs2026
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
2
.github/workflows/release-nightly-ota.yml
vendored
2
.github/workflows/release-nightly-ota.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
build-win-nightly:
|
build-win-nightly:
|
||||||
name: Build Nightly for Windows
|
name: Build Nightly for Windows
|
||||||
if: github.repository_owner == 'MaaAssistantArknights'
|
if: github.repository_owner == 'MaaAssistantArknights'
|
||||||
runs-on: windows-latest
|
runs-on: windows-2025-vs2026
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [x64]
|
arch: [x64]
|
||||||
|
|||||||
@@ -217,11 +217,6 @@
|
|||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"BUILD_WPF_GUI": "ON"
|
"BUILD_WPF_GUI": "ON"
|
||||||
},
|
},
|
||||||
"$comment": [
|
|
||||||
"github actions only support Visual Studio 17 2022",
|
|
||||||
"see https://github.com/actions/runner-images/issues/13291"
|
|
||||||
],
|
|
||||||
"generator": "Visual Studio 17 2022",
|
|
||||||
"displayName": "Windows x64 Publish"
|
"displayName": "Windows x64 Publish"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -233,11 +228,6 @@
|
|||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"BUILD_WPF_GUI": "ON"
|
"BUILD_WPF_GUI": "ON"
|
||||||
},
|
},
|
||||||
"$comment": [
|
|
||||||
"github actions only support Visual Studio 17 2022",
|
|
||||||
"see https://github.com/actions/runner-images/issues/13291"
|
|
||||||
],
|
|
||||||
"generator": "Visual Studio 17 2022",
|
|
||||||
"displayName": "Windows arm64 Publish"
|
"displayName": "Windows arm64 Publish"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user