Get package owner list from Kusto #659
Workflow file for this run
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 docs-verifier | |
on: [pull_request] | |
jobs: | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
matrix: | |
configuration: [debug, release] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@main | |
with: | |
dotnet-version: '8.0.x' | |
- name: Try get cached dependencies | |
uses: actions/cache@main | |
with: | |
path: ${{ github.workspace }}/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Validate dependencies | |
run: dotnet restore actions/docs-verifier --locked-mode --packages ${{ github.workspace }}/.nuget/packages | |
- name: Build | |
run: dotnet msbuild actions/docs-verifier -noLogo -m -p:Configuration=${{ matrix.configuration }} -warnaserror -bl:artifacts/log/build.binlog | |
- name: Test | |
run: dotnet test actions/docs-verifier | |
- name: Upload Results | |
uses: actions/upload-artifact@main | |
with: | |
name: ${{ matrix.os }}_${{ matrix.configuration }} | |
path: | | |
./artifacts/bin/**/* | |
./artifacts/log/**/* | |
if-no-files-found: error |