Skip to content

Commit 4c291d1

Browse files
authored
Add setup dotnet action to the build composite action (PowerShell#24996)
1 parent 6b374e5 commit 4c291d1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/actions/build/ci/action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ runs:
1111
if: github.event_name != 'PullRequest'
1212
run: Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhmmss"))"
1313
shell: pwsh
14+
- uses: actions/setup-dotnet@v4
15+
with:
16+
global-json-file: ./global.json
1417
- name: Bootstrap
1518
if: success()
1619
run: |-

.github/actions/test/nix/action.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ runs:
3030
continue-on-error: true
3131
run: Get-ChildItem "${{ github.workspace }}/build/*" -Recurse
3232
shell: pwsh
33-
33+
34+
- uses: actions/setup-dotnet@v4
35+
with:
36+
global-json-file: ./global.json
37+
3438
- name: Bootstrap
3539
shell: pwsh
3640
run: |-

0 commit comments

Comments
 (0)