Skip to content

Commit 09ca511

Browse files
Try using setup-dotnet v4
1 parent b88f789 commit 09ca511

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ jobs:
109109

110110
- name: DotNet Setup
111111
if: ${{ matrix.options.sdk-preview != true }}
112-
uses: actions/setup-dotnet@v3
112+
uses: actions/setup-dotnet@v4
113113
with:
114114
dotnet-version: |
115115
6.0.x
116116
117117
- name: DotNet Setup Preview
118118
if: ${{ matrix.options.sdk-preview == true }}
119-
uses: actions/setup-dotnet@v3
119+
uses: actions/setup-dotnet@v4
120120
with:
121121
dotnet-version: |
122122
7.0.x

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
restore-keys: ${{ runner.os }}-nuget-
5959

6060
- name: DotNet Setup
61-
uses: actions/setup-dotnet@v3
61+
uses: actions/setup-dotnet@v4
6262
with:
6363
dotnet-version: |
6464
6.0.x

ci-build.ps1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ dotnet clean -c Release
88
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY"
99

1010
# Building for a specific framework.
11-
# dotnet build -c Release -f $targetFramework /p:RepositoryUrl=$repositoryUrl
12-
#
13-
# CI is now throwing build errors when none were present previously.
14-
dotnet build -c Release -f /p:RepositoryUrl=$repositoryUrl
11+
dotnet build -c Release -f $targetFramework /p:RepositoryUrl=$repositoryUrl

0 commit comments

Comments
 (0)