Skip to content

Commit ca2934e

Browse files
Fix CI solution selection after adding slnx
1 parent 6422f1f commit ca2934e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,17 +172,17 @@ jobs:
172172

173173
- name: Restore dependencies
174174
working-directory: src
175-
run: dotnet restore
175+
run: dotnet restore UniGetUI.sln
176176

177177
- name: Run tests
178178
working-directory: src
179179
shell: pwsh
180180
run: |
181181
# Retry once to handle flaky tests (e.g. TaskRecyclerTests uses Random)
182-
dotnet test --no-restore --verbosity q --nologo
182+
dotnet test UniGetUI.sln --no-restore --verbosity q --nologo
183183
if ($LASTEXITCODE -ne 0) {
184184
Write-Host "::warning::First test run failed, retrying..."
185-
dotnet test --no-restore --verbosity q --nologo
185+
dotnet test UniGetUI.sln --no-restore --verbosity q --nologo
186186
if ($LASTEXITCODE -ne 0) { exit 1 }
187187
}
188188

.github/workflows/dotnet-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ jobs:
3939

4040
- name: Install dependencies
4141
working-directory: src
42-
run: dotnet restore
42+
run: dotnet restore UniGetUI.sln
4343

4444
# - name: Test build
4545
# working-directory: src
4646
# run: dotnet build --configuration Release
4747

4848
- name: Run Tests
4949
working-directory: src
50-
run: dotnet test --no-restore --verbosity q --nologo
50+
run: dotnet test UniGetUI.sln --no-restore --verbosity q --nologo
5151

0 commit comments

Comments
 (0)