Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a95403c

Browse files
authored
Update dotnet.yml
1 parent 8a60b0f commit a95403c

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: .NET
22

33
on:
44
push:
5-
branches: [ master,develop ]
5+
branches: [ master, develop ]
66
pull_request:
7-
branches: [ master,develop ]
7+
branches: [ master, develop ]
88

99
jobs:
1010
build:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest, windows-latest, macOS-latest]
14+
os: [ ubuntu-latest, windows-latest, macOS-latest ]
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Setup .NET 5
@@ -30,22 +30,27 @@ jobs:
3030

3131
- name: dotnet info
3232
run: dotnet --info
33+
3334
- name: dotnet restore SteamToolsV2+.sln
3435
if: matrix.os == 'windows-latest'
3536
run: dotnet restore ./SteamToolsV2+.sln
37+
3638
- name: dotnet restore SteamTools.Desktop.Linux.sln
37-
if: matrix.os == 'macOS-latest'
39+
if: matrix.os == 'ubuntu-latest'
3840
run: dotnet restore ./SteamTools.Desktop.Linux.sln
41+
3942
- name: dotnet restore SteamTools.Desktop.Mac.sln
40-
if: matrix.os == 'ubuntu-latest'
43+
if: matrix.os == 'macOS-latest'
4144
run: dotnet restore ./SteamTools.Desktop.Mac.sln
45+
4246
- name: dotnet AvaloniaApp build
4347
run: dotnet build ./src/ST.Client.Desktop.Avalonia.App/ST.Client.Desktop.Avalonia.App.csproj
4448
- name: dotnet CommonUnit build
4549
run: dotnet build ./tests/Common.UnitTest/Common.UnitTest.csproj
46-
- name: dotnet CommonUnit test
47-
run: dotnet test ./tests/Common.UnitTest/Common.UnitTest.csproj
4850
- name: dotnet ST.Client.UnitTest build
4951
run: dotnet build ./tests/ST.Client.UnitTest/ST.Client.UnitTest.csproj
52+
53+
- name: dotnet CommonUnit test
54+
run: dotnet test ./tests/Common.UnitTest/Common.UnitTest.csproj
5055
- name: dotnet ST.Client.UnitTest test
5156
run: dotnet test ./tests/ST.Client.UnitTest/ST.Client.UnitTest.csproj

0 commit comments

Comments
 (0)