Skip to content

πŸ”₯ Removes unused AwsSignatureVersion4 library (#13) #68

πŸ”₯ Removes unused AwsSignatureVersion4 library (#13)

πŸ”₯ Removes unused AwsSignatureVersion4 library (#13) #68

Workflow file for this run

name: 🏭 Build
on:
push:
branches:
- main
- "v*.*"
- validate/*
tags:
- "v*.*.*"
pull_request:
workflow_dispatch:
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
BUILDCONFIGURATION: Release
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages/
jobs:
build:
name: 🏭 Build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- macOS-15
- windows-2025
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: βš™ Install prerequisites
run: |
./init.ps1 -UpgradePrerequisites
dotnet --info
# Print mono version if it is present.
if (Get-Command mono -ErrorAction SilentlyContinue) {
mono --version
}
shell: pwsh
- name: βš™οΈ Set pipeline variables based on source
run: tools/variables/_define.ps1
shell: pwsh
- name: πŸ›  build
# TODO: Re-enable -warnAsError after fixing StyleCop violations
run: dotnet build -t:build,pack --no-restore -c ${{ env.BUILDCONFIGURATION }} /bl:"${{ runner.temp }}/_artifacts/build_logs/build.binlog"
- name: πŸ§ͺ test
run: tools/dotnet-test-cloud.ps1 -Configuration ${{ env.BUILDCONFIGURATION }} -Agent ${{ runner.os }}
shell: pwsh
- name: πŸ’…πŸ» Verify formatted code
run: dotnet format --verify-no-changes --no-restore
shell: pwsh
if: runner.os == 'Linux'
- name: πŸ“š Verify docfx build
run: dotnet docfx docfx/docfx.json --warningsAsErrors --disableGitFeatures
if: runner.os == 'Linux'
- name: βš™ Update pipeline variables based on build outputs
run: tools/variables/_define.ps1
shell: pwsh
- name: πŸ“’ Publish artifacts
uses: ./.github/actions/publish-artifacts
if: cancelled() == false
- name: πŸ“’ Publish code coverage results to codecov.io
run: |
if ('${{ secrets.CODECOV_TOKEN }}') {
./tools/publish-CodeCov.ps1 -CodeCovToken '${{ secrets.CODECOV_TOKEN }}' -PathToCodeCoverage "${{ runner.temp }}/_artifacts/coverageResults" -Name "${{ runner.os }} Coverage Results" -Flags "${{ runner.os }}"
}
shell: pwsh
timeout-minutes: 3
continue-on-error: true
docs:
name: πŸ“ƒ Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: πŸ”— Markup Link Checker (mlc)
uses: becheran/mlc@7ec24825cefe0c9c8c6bac48430e1f69e3ec356e # v1.2.0
with:
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dotnet.microsoft.com/*,https://dev.azure.com/*,https://app.codecov.io/* -p docfx -i https://www.npmjs.com/package/*,https://get.dot.net/,https://nuget.org/packages/*