File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET Core Desktop
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches : [ "test_github_actions" ]
7
+ pull_request :
8
+
9
+ jobs :
10
+
11
+ build :
12
+
13
+ strategy :
14
+ matrix :
15
+ configuration : [Release]
16
+
17
+ runs-on : windows-latest
18
+
19
+ env :
20
+ Solution_Name : Flow.Launcher.Localization.slnx
21
+ Test_Project_Path : Flow.Launcher.Localization\Flow.Launcher.Localization.csproj
22
+
23
+ steps :
24
+ - name : Checkout
25
+ uses : actions/checkout@v4
26
+ with :
27
+ fetch-depth : 0
28
+
29
+ # Install the .NET Core workload
30
+ - name : Install .NET Core
31
+ uses : actions/setup-dotnet@v4
32
+ with :
33
+ dotnet-version : 7.0.x
34
+
35
+ # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
36
+ - name : Setup MSBuild.exe
37
+ uses : microsoft/setup-msbuild@v2
38
+
39
+ # Execute all unit tests in the solution
40
+ - name : Execute unit tests
41
+ run : dotnet test
42
+
43
+ # Restore the application to populate the obj folder with RuntimeIdentifiers
44
+ - name : Restore the application
45
+ run : msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
46
+ env :
47
+ Configuration : ${{ matrix.configuration }}
You can’t perform that action at this time.
0 commit comments