[2.3] Update OneBranch build docker image #5476
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: CheckDotnet | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
branches: | |
- main | |
- release/* | |
permissions: read-all | |
jobs: | |
validate: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
name: Validate | |
runs-on: windows-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Prepare Machine | |
run: scripts/prepare-machine.ps1 | |
shell: pwsh | |
- name: Run DotNet Update | |
run: scripts/generate-dotnet.ps1 | |
shell: pwsh | |
- name: Check for Changes | |
run: | | |
git add . | |
git --no-pager diff --exit-code HEAD |