Skip to content

Commit 1440ed1

Browse files
authored
chore: rename master branch to main (#40)
1 parent 1a12776 commit 1440ed1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: .NET
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "main" ]
66
tags: [ "*" ]
77
pull_request:
8-
branches: [ "master" ]
8+
branches: [ "main" ]
99

1010
jobs:
1111
build:
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Push
2828
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'
3030
working-directory: out
3131
env:
3232
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33
##
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
55

66
# User-specific files
77
*.suo

0 commit comments

Comments
 (0)