Skip to content

Bump Microsoft.AspNetCore.SystemWebAdapters and Microsoft.AspNetCore.SystemWebAdapters.CoreServices #153

Bump Microsoft.AspNetCore.SystemWebAdapters and Microsoft.AspNetCore.SystemWebAdapters.CoreServices

Bump Microsoft.AspNetCore.SystemWebAdapters and Microsoft.AspNetCore.SystemWebAdapters.CoreServices #153

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- '*.md'
pull_request:
paths-ignore:
- '*.md'
jobs:
build:
permissions:
contents: write
pull-requests: write
runs-on: windows-latest
env:
Solution_Path: ContextMenuManager.sln
steps:
# Checkout codes
- name: Checkout
uses: actions/checkout@v5
# Install the .NET Core workload
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
9.0.x
# Restore dependencies for entire solution
- name: Restore dependencies
run: dotnet restore ${{ env.Solution_Path }}
# Build the entire solution
- name: Build
run: dotnet build ${{ env.Solution_Path }} --configuration Release
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test ${{ env.Solution_Path }} --configuration Release --no-build
# Upload the Build package
- name: Upload Build package
uses: actions/upload-artifact@v4
with:
path: |
ContextMenuManager/bin/Release/net9.0-windows
compression-level: 0