mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
ci: 限定.Net SDK为10.0.203
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -150,10 +150,15 @@ jobs:
|
||||
cp MaaFramework-temp/bin/*Win32ControlUnit* install/
|
||||
cp MaaFramework-temp/bin/*AdbControlUnit* install/
|
||||
|
||||
- name: Generate global.json
|
||||
shell: bash
|
||||
run: |
|
||||
echo '{"sdk":{"version":"10.0.203","rollForward":"disable"}}' > global.json
|
||||
|
||||
- name: Setup .NET SDK
|
||||
uses: actions/setup-dotnet@v5
|
||||
with:
|
||||
dotnet-version: '10.0.202'
|
||||
global-json-file: global.json
|
||||
|
||||
- name: Cache .nuke/temp, ~/.nuget/packages
|
||||
id: cache-nuget
|
||||
|
||||
7
.github/workflows/release-nightly-ota.yml
vendored
7
.github/workflows/release-nightly-ota.yml
vendored
@@ -206,10 +206,15 @@ jobs:
|
||||
run: |
|
||||
cp MaaFramework-temp/bin/*Win32ControlUnit* install/
|
||||
|
||||
- name: Generate global.json
|
||||
shell: bash
|
||||
run: |
|
||||
echo '{"sdk":{"version":"10.0.203","rollForward":"disable"}}' > global.json
|
||||
|
||||
- name: Setup .NET SDK
|
||||
uses: actions/setup-dotnet@v5
|
||||
with:
|
||||
dotnet-version: '10.0.202'
|
||||
global-json-file: global.json
|
||||
|
||||
- name: Cache .nuke/temp, ~/.nuget/packages
|
||||
id: cache-nuget
|
||||
|
||||
Reference in New Issue
Block a user