Skip to content

Commit 6d0fd26

Browse files
committed
Set up dotnet in dependent workflows
1 parent 043119a commit 6d0fd26

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/check-code-formatting.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ jobs:
2626
runs-on: windows-2019
2727

2828
steps:
29-
# Checkout the local repository
3029
- uses: actions/checkout@v4
3130

31+
- uses: actions/setup-dotnet@v4
32+
with:
33+
global-json-file: global.json
34+
3235
- name: Add local NuGet repository
3336
run: dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Yubico/index.json"
3437

.github/workflows/test-and-cover.yml

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131

3232
steps:
3333
- uses: actions/checkout@v4
34+
35+
- uses: actions/setup-dotnet@v4
36+
with:
37+
global-json-file: global.json
3438

3539
- name: Add local NuGet repository
3640
run: dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Yubico/index.json"

0 commit comments

Comments
 (0)