Skip to content

Commit 2c33555

Browse files
Simplify sln calling
1 parent 5d4f37c commit 2c33555

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
matrix:
1515
Configuration: [ Debug, Release ]
1616
env:
17-
Solution: '**/WpfDesign.sln'
1817
BuildPlatform: 'Any CPU'
1918
BuildVersion: '8.0.0.${{ github.run_number }}'
2019
steps:
@@ -30,11 +29,11 @@ jobs:
3029
uses: actions/setup-dotnet@v1
3130
with:
3231
dotnet-version: 5.0.x
33-
- run: dotnet restore ${{ env.Solution }}
32+
- run: dotnet restore WpfDesign.sln
3433
- name: Build
35-
run: dotnet build ${{ env.Solution }} --no-restore -c ${{ matrix.configuration }}
34+
run: dotnet build WpfDesign.sln --no-restore -c ${{ matrix.configuration }}
3635
- name: Test
37-
run: dotnet test ${{ env.Solution }} --no-build --verbosity normal -c ${{ matrix.configuration }}
36+
run: dotnet test WpfDesign.sln --no-build --verbosity normal -c ${{ matrix.configuration }}
3837
- name: Pack
3938
run: .\nuget\pack.ps1
4039
- name: Upload NuGet

0 commit comments

Comments
 (0)