Skip to content

update: 从 CSharp-OpenBMCLAPI 迁移了 SimpleWebServer #15

update: 从 CSharp-OpenBMCLAPI 迁移了 SimpleWebServer

update: 从 CSharp-OpenBMCLAPI 迁移了 SimpleWebServer #15

Workflow file for this run

name: .NET Build & Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build
run: dotnet build --configuration $env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Test
run: dotnet test --configuration $env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: app-debug
path: |
bin/Debug
bin/Release