Update the ASP.NET Core samples to use Kestrel as the default HTTP se… #525
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ dev, rel/* ] | |
tags: [ '*' ] | |
pull_request: | |
branches: [ dev, rel/* ] | |
workflow_dispatch: | |
env: | |
DOTNET_MULTILEVEL_LOOKUP: 0 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: 1 | |
NUGET_XMLDOC_MODE: skip | |
TERM: xterm | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: build-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
include: | |
- os: macos-latest | |
os_name: macos | |
- os: ubuntu-latest | |
os_name: linux | |
- os: windows-latest | |
os_name: windows | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0.101' | |
- name: Build | |
run: eng\common\CIBuild.cmd -configuration Release -prepareMachine -integrationTest | |
if: ${{ runner.os == 'Windows' }} | |
- name: Build | |
shell: pwsh | |
run: ./eng/common/cibuild.sh -configuration Release -prepareMachine -integrationTest | |
if: ${{ runner.os != 'Windows' }} |