File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,15 @@ jobs:
47
47
# files: '*.cobertura.xml'
48
48
#
49
49
- name : Upload artifacts
50
+ if : matrix.os == 'ubuntu-latest'
50
51
uses : actions/upload-artifact@v3
51
52
with :
52
53
name : artifacts
53
54
path : ./artifacts
54
55
- name : Upload test results
55
56
uses : actions/upload-artifact@v3
56
57
with :
57
- name : test-results
58
+ name : test-results-${{ matrix.os }}
58
59
path : ./test-results
59
60
if : ${{ always() }} # Always run this step even on failure
60
61
63
64
runs-on : ubuntu-latest
64
65
environment : testing
65
66
needs : build
67
+ name : Deploy Testing
66
68
steps :
67
69
- name : Setup .NET
68
70
uses : actions/setup-dotnet@v3
75
77
name : artifacts
76
78
path : ./artifacts
77
79
- name : Push packages
78
- run : dotnet nuget push -s ${{vars.MYGET_URL}} -k ${{secrets.MYGET_API_KEY}} ./artifacts/*.* nupkg
80
+ run : dotnet nuget push -s ${{vars.MYGET_URL}} -k ${{secrets.MYGET_API_KEY}} ./artifacts/*.nupkg
79
81
80
82
deploy-release :
81
83
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
84
86
needs :
85
87
- build
86
88
- deploy-testing
89
+ name : Deploy Production
87
90
steps :
88
91
- name : Setup .NET
89
92
uses : actions/setup-dotnet@v3
96
99
name : artifacts
97
100
path : ./artifacts
98
101
- name : Push packages
99
- run : dotnet nuget push -s ${{vars.NUGET_URL}} -k ${{secrets.NUGET_API_KEY}} ./artifacts/*.* nupkg
102
+ run : dotnet nuget push -s ${{vars.NUGET_URL}} -k ${{secrets.NUGET_API_KEY}} ./artifacts/*.nupkg
Original file line number Diff line number Diff line change
1
+ assembly-informational-format : ' {SemVer}+{ShortSha}'
2
+ continuous-delivery-fallback-tag : ' alpha'
3
+ mode : ' ContinuousDeployment'
4
+ branches :
5
+ main :
6
+ increment : Minor
7
+ pull-request :
8
+ tag : ' pr'
9
+ ignore :
10
+ sha : []
You can’t perform that action at this time.
0 commit comments