File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: .NET
2
2
3
3
on :
4
4
push :
5
- branches : [ "master " ]
5
+ branches : [ "main " ]
6
6
tags : [ "*" ]
7
7
pull_request :
8
- branches : [ "master " ]
8
+ branches : [ "main " ]
9
9
10
10
jobs :
11
11
build :
26
26
27
27
- name : Push
28
28
run : dotnet nuget push *.nupkg -s nuget.org -k $NUGET_API_KEY
29
- if : startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master '
29
+ if : startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main '
30
30
working-directory : out
31
31
env :
32
32
NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
Original file line number Diff line number Diff line change 1
1
# # Ignore Visual Studio temporary files, build results, and
2
2
# # files generated by popular Visual Studio add-ons.
3
3
# #
4
- # # Get latest from https://github.com/github/gitignore/blob/master /VisualStudio.gitignore
4
+ # # Get latest from https://github.com/github/gitignore/blob/main /VisualStudio.gitignore
5
5
6
6
# User-specific files
7
7
* .suo
You can’t perform that action at this time.
0 commit comments