We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7daefe0 commit 4d8d3d2Copy full SHA for 4d8d3d2
.github/workflows/dotnet.yml
@@ -2,9 +2,9 @@ name: Build CodeConverter
2
3
on:
4
push:
5
- branches: [ master ]
+ branches: [ master, main ]
6
pull_request:
7
8
9
env:
10
BuildVersion: '10.0.0'
@@ -78,7 +78,7 @@ jobs:
78
path: Func/bin/${{ env.BuildTarget }}/publish/
79
80
deploy:
81
- if: ${{ github.ref == 'refs/heads/master' }}
+ if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
82
concurrency: ci-${{ github.ref }}
83
needs: [build] # The second job must depend on the first one to complete before running and uses ubuntu-latest instead of windows.
84
runs-on: ubuntu-latest
0 commit comments