Skip to content

Commit

Permalink
chore: rename master branch to main (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik authored Mar 21, 2024
1 parent 1a12776 commit 1440ed1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: .NET

on:
push:
branches: [ "master" ]
branches: [ "main" ]
tags: [ "*" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]

jobs:
build:
Expand All @@ -26,7 +26,7 @@ jobs:

- name: Push
run: dotnet nuget push *.nupkg -s nuget.org -k $NUGET_API_KEY
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
working-directory: out
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore

# User-specific files
*.suo
Expand Down

0 comments on commit 1440ed1

Please sign in to comment.