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 : .NET
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+ name : Build and test
12+ runs-on : ubuntu-latest
13+ env :
14+ NUGET_KEY : ${{ secrets.NUGET_KEY }}
15+ CONFIGURATION : Release
16+ PACKAGES_DIRECTORY : ./packages
17+ NUGET_SOURCE : https://api.nuget.org/v3/index.json
18+
19+ steps :
20+ - uses : actions/checkout@v3
21+
22+ - name : Setup .NET
23+ uses : actions/setup-dotnet@v2
24+ with :
25+ dotnet-version : 6.0.x
26+
27+ - name : Restore dependencies
28+ run : dotnet restore ./src/OneBitSoftware.Utilities.OperationResult.sln
29+
30+ - name : Build
31+ run : dotnet build ./src/OneBitSoftware.Utilities.OperationResult.sln --no-restore --configuration "${{ env.CONFIGURATION }}"
32+
33+ - name : Test
34+ run : dotnet test ./src/OneBitSoftware.Utilities.OperationResult.sln --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments