Skip to content

Update the ASP.NET Web API samples to use SuppressDefaultHostAuthentication() #494

Update the ASP.NET Web API samples to use SuppressDefaultHostAuthentication()

Update the ASP.NET Web API samples to use SuppressDefaultHostAuthentication() #494

Workflow file for this run

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' }}