File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ jobs:
39
39
run : dotnet restore
40
40
41
41
- name : Build
42
- run : dotnet build --no-restore
42
+ run : dotnet build -c Release - -no-restore
43
43
44
44
- name : Test
45
- run : dotnet test --no-build --logger GitHubActions
45
+ run : dotnet test -c Release - -no-build --logger GitHubActions
46
46
47
47
packaging :
48
48
needs : build
@@ -75,11 +75,11 @@ jobs:
75
75
76
76
- name : Pack NuGet packages (CI versions)
77
77
if : startsWith(github.ref, 'refs/heads/')
78
- run : dotnet pack --no-restore --version-suffix "ci.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}"
78
+ run : dotnet pack -c Release - -no-restore --version-suffix "ci.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}"
79
79
80
80
- name : Pack NuGet packages (PR versions)
81
81
if : startsWith(github.ref, 'refs/pull/')
82
- run : dotnet pack --no-restore --version-suffix "pr.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}"
82
+ run : dotnet pack -c Release - -no-restore --version-suffix "pr.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}"
83
83
84
84
- name : Publish NuGet packages (base)
85
85
if : github.event.pull_request.head.repo.fork == false
Original file line number Diff line number Diff line change 44
44
run : dotnet restore
45
45
46
46
- name : Pack
47
- run : dotnet pack --no-restore
47
+ run : dotnet pack -c Release - -no-restore
48
48
49
49
- name : Publish to Nuget
50
50
run : dotnet nuget push "src/**/*.nupkg" --api-key "${{ secrets.NUGET_TOKEN }}" --source https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments