File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches : [ main ]
66
7+ name : .NET Core - Build only
8+
9+ on :
10+ pull_request :
11+ branches : [ main ]
12+
713jobs :
814 build :
915
1016 runs-on : ubuntu-latest
1117
1218 steps :
13- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v4
1420 - name : Setup .NET Core
1521 uses : actions/setup-dotnet@v1
1622 with :
17- dotnet-version : 3.1.301
23+ dotnet-version : 8.0.x
1824 - name : Install dependencies
1925 run : dotnet restore
2026 - name : Build
@@ -23,12 +29,13 @@ jobs:
2329 run : dotnet test --no-restore --verbosity normal
2430 - name : Pack
2531 run : dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release -o .
26- - uses : actions/upload-artifact@v2
32+ - uses : actions/upload-artifact@v4
2733 with :
2834 name : nuget-packages
2935 path : |
3036 **/*.nupkg
3137 **/*.snupkg
38+
3239 - name : Publish
3340 env :
3441 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments