File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 32
32
run : dotnet pack --configuration Release -o .
33
33
34
34
- name : Upload Artifacts
35
- if : ${{ github.event_name != 'pull_request' }}
36
35
uses : actions/upload-artifact@v3
37
36
with :
38
37
name : NuGet
@@ -56,11 +55,11 @@ jobs:
56
55
Push-Location TestConsoleApp
57
56
dotnet new keboo.console
58
57
dotnet test
59
- dotnet pack --configuration Release -o ${{env.DOTNET_ROOT}} /NuGet
58
+ dotnet pack --configuration Release -o . /NuGet
60
59
61
60
test-wpf :
62
61
if : ${{ github.event_name == 'pull_request' }}
63
- runs-on : ubuntu -latest
62
+ runs-on : windows -latest
64
63
needs : build
65
64
66
65
steps :
95
94
Push-Location TestLibrary
96
95
dotnet new keboo.nuget
97
96
dotnet test
98
- dotnet pack --configuration Release -o ${{env.DOTNET_ROOT}} /NuGet
97
+ dotnet pack --configuration Release -o . /NuGet
99
98
100
99
automerge :
101
100
if : ${{ github.event_name == 'pull_request' }}
@@ -112,10 +111,10 @@ jobs:
112
111
use-github-auto-merge : true
113
112
114
113
push_nugets :
115
- needs : build
116
114
if : ${{ github.event_name != 'pull_request' }}
117
- runs-on : ubuntu-latest
118
115
name : Push NuGets
116
+ runs-on : ubuntu-latest
117
+ needs : [build, test-console, test-wpf, test-library]
119
118
120
119
steps :
121
120
- name : Download NuGet Artifacts
You can’t perform that action at this time.
0 commit comments