Skip to content

feat: Range 请求的处理以及正确的 206 响应 #133

feat: Range 请求的处理以及正确的 206 响应

feat: Range 请求的处理以及正确的 206 响应 #133

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master", "dev"]
pull_request:
branches: [ "master", "dev"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
configuration: [Release]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration $env:Configuration --no-restore
env:
Configuration: ${{ matrix.configuration }}
- name: Test
run: dotnet test --configuration $env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: app-debug
path: |
CSharp-OpenBMCLAPI/bin/Debug
CSharp-OpenBMCLAPI/bin/Release