mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
ci: Update smoke-testing.yml
This commit is contained in:
24
.github/workflows/smoke-testing.yml
vendored
24
.github/workflows/smoke-testing.yml
vendored
@@ -29,20 +29,16 @@ jobs:
|
||||
smoke-testing:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
show-progress: false
|
||||
|
||||
- name: Setup NuGet
|
||||
uses: NuGet/setup-nuget@v1.2.0
|
||||
|
||||
- name: Restore NuGet packages
|
||||
run: |
|
||||
nuget restore MAA.sln
|
||||
if ($LASTEXITCODE) { nuget restore MAA.sln }
|
||||
if ($LASTEXITCODE) { nuget restore MAA.sln }
|
||||
|
||||
dotnet-version: 8.0.x
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
|
||||
- name: Bootstrap MaaDeps
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -55,7 +51,7 @@ jobs:
|
||||
run: |
|
||||
MSBUILD src/Cpp/MaaSample.slnf /t:rebuild /p:Configuration="Debug" /p:Platform="x64" /m
|
||||
|
||||
- name: Run tests - Official #用来判断是不是国服资源出错导致外服全炸
|
||||
- name: Run tests - Official #<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD><EFBFBD>Dz<EFBFBD><EFBFBD>ǹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫը
|
||||
run: |
|
||||
.\x64\Debug\Sample.exe
|
||||
|
||||
|
||||
Reference in New Issue
Block a user