mirror of
https://github.com/AlexMacocian/Net.Sdk.Web.Extensions.git
synced 2026-07-15 13:39:29 +00:00
41 lines
917 B
YAML
41 lines
917 B
YAML
name: AspNetCore.Extensions CI Pipeline
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
matrix:
|
|
targetplatform: [x64]
|
|
|
|
runs-on: windows-latest
|
|
|
|
env:
|
|
Solution_Path: AspNetCore.Extensions.sln
|
|
Source_Project_Path: AspNetCore.Extensions\AspNetCore.Extensions.csproj
|
|
Actions_Allow_Unsecure_Commands: true
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install .NET Core
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: '8.0.x'
|
|
|
|
- name: Setup MSBuild.exe
|
|
uses: microsoft/setup-msbuild@v1.0.1
|
|
|
|
- name: Restore Project
|
|
run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier
|
|
env:
|
|
Configuration: Debug
|
|
RuntimeIdentifier: win-${{ matrix.targetplatform }} |