File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI Tests
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ merge_group :
9+ types : [ checks_requested ]
10+
11+ jobs :
12+ ci :
13+ name : dotnet
14+ strategy :
15+ matrix :
16+ os : [ windows-latest, macos-latest, ubuntu-latest ]
17+ runs-on : ${{ matrix.os }}
18+ env :
19+ DOTNET_NOLOGO : true
20+ DOTNET_CLI_TELEMETRY_OPTOUT : true
21+ DOTNET_GENERATE_ASPNET_CERTIFICATE : false
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v4
25+
26+ - name : Install dotnet
27+ uses : actions/setup-dotnet@v4
28+ with :
29+ cache : true
30+ cache-dependency-path : ' **/*.csproj'
31+
32+ - name : Install PSResources
33+ shell : pwsh
34+ run : ./tools/installPSResources.ps1
35+
36+ - name : Build and test
37+ shell : pwsh
38+ run : Invoke-Build -Configuration Release Build, Package
39+
40+ - name : Upload module
41+ if : always()
42+ uses : actions/upload-artifact@v4
43+ with :
44+ name : ConsoleGuiTools-module-${{ matrix.os }}
45+ path : module
46+
47+ - name : Upload NuGet package
48+ uses : actions/upload-artifact@v4
49+ with :
50+ name : ConsoleGuiTools-nupkg-${{ matrix.os }}
51+ path : out/*.nupkg
You can’t perform that action at this time.
0 commit comments