[release/v7.4]Add UseDotnet task for installing dotnet (#25080)

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
This commit is contained in:
Travis Plunk
2025-02-25 13:22:30 -08:00
committed by GitHub
co-authored by Aditya Patwardhan
parent 78e2a13ed9
commit 61ce3a3dcc
30 changed files with 337 additions and 188 deletions
@@ -27,7 +27,7 @@ runs:
- name: Bootstrap
run: |-
Import-Module ./build.psm1
Start-PSBootstrap -Package
Start-PSBootstrap -Scenario Package
shell: pwsh
- name: Capture Artifacts Directory
continue-on-error: true
+4 -1
View File
@@ -31,6 +31,10 @@ runs:
run: Get-ChildItem "${{ github.workspace }}\build\*" -Recurse
shell: pwsh
- uses: actions/setup-dotnet@v4
with:
global-json-file: .\global.json
- name: Bootstrap
shell: powershell
run: |-
@@ -50,7 +54,6 @@ runs:
if: success()
run: |-
Import-Module .\build.psm1 -force
Start-PSBootstrap
Import-Module .\tools\ci.psm1
Restore-PSOptions -PSOptionsPath '${{ github.workspace }}\build\psoptions.json'
$options = (Get-PSOptions)
+5
View File
@@ -77,6 +77,7 @@ jobs:
uses: actions/checkout@v4.1.0
with:
fetch-depth: 1000
- name: Build
uses: "./.github/actions/build/ci"
linux_test_unelevated_ci:
@@ -187,6 +188,10 @@ jobs:
with:
fetch-depth: '0'
- uses: actions/setup-dotnet@v4
with:
global-json-file: ./global.json
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
+1 -1
View File
@@ -174,7 +174,7 @@ jobs:
if: success() || failure()
run: |-
import-module ./build.psm1
start-psbootstrap -package
start-psbootstrap -Scenario package
shell: pwsh
ready_to_merge:
name: macos ready to merge