Skip to content

Change: 修正错误的安装步骤,将.net版本升级至7.0 #7

Change: 修正错误的安装步骤,将.net版本升级至7.0

Change: 修正错误的安装步骤,将.net版本升级至7.0 #7

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
platform: [x64, x86]
runs-on: windows-latest
env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2
- name: Build
run: |
msbuild NonsPlayer "-property:Configuration=$env:Configuration;Platform=$env:Platform"
dotnet build NonsPlayer -c $env:Configuration -p:Platform=$env:Platform