File tree Expand file tree Collapse file tree 3 files changed +22
-26
lines changed Expand file tree Collapse file tree 3 files changed +22
-26
lines changed Original file line number Diff line number Diff line change 1
1
name : .NET Release
2
2
3
- on : [workflow_dispatch]
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - release
4
8
5
9
jobs :
6
10
test :
Original file line number Diff line number Diff line change @@ -3,25 +3,9 @@ name: Publish Documentation
3
3
on :
4
4
push :
5
5
branches : [master]
6
- tags : ['**']
7
6
8
7
jobs :
9
- build-changelog :
10
- runs-on : ubuntu-latest
11
- steps :
12
- - uses : actions/checkout@v2
13
- - name : Create Changelog
14
- uses :
heinrichreimer/[email protected]
15
- with :
16
- token : ${{ secrets.GITHUB_TOKEN }}
17
- output : CHANGELOG.md
18
- - name : Upload changelog
19
- uses : actions/upload-artifact@v2
20
- with :
21
- name : changelog
22
- path : CHANGELOG.md
23
8
build-gh-pages :
24
- needs : build-changelog
25
9
runs-on : windows-latest
26
10
steps :
27
11
- uses : actions/checkout@v2
38
22
- name : Build Solution
39
23
run : .\build.ps1 --target Compile --no-logo
40
24
shell : powershell
41
- - name : Download docs artifact
42
- id : cl
43
- uses : actions/download-artifact@v2
44
- with :
45
- name : changelog
46
- path : docs
47
25
- name : Build Documentation
48
26
run : docfx docs/docfx.json
49
27
- name : Upload docs artifact
Original file line number Diff line number Diff line change 1
1
{
2
- "verifyConditions" : [" @semantic-release/github" ],
3
- "addChannel" : [" @semantic-release/github" ],
2
+ "branches" : [
3
+ " release" ,
4
+ {
5
+ "name" : " master" ,
6
+ "prerelease" : " prerelease"
7
+ }
8
+ ],
9
+ "plugins" : [
10
+ " @semantic-release/commit-analyzer" ,
11
+ " @semantic-release/release-notes-generator" ,
12
+ " @semantic-release/github"
13
+ ],
4
14
"prepare" : [
5
15
[
6
16
" @semantic-release/exec" ,
13
23
[
14
24
" @semantic-release/github" ,
15
25
{
16
- "assets" : [{ "path" : " artifacts/*.nupkg" }]
26
+ "assets" : [
27
+ {
28
+ "path" : " artifacts/*.nupkg"
29
+ }
30
+ ]
17
31
}
18
32
],
19
33
[
You can’t perform that action at this time.
0 commit comments