File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
55trigger :
66 branches :
77 include :
8- - master
8+ - main
99 - vnext
1010pr :
1111 branches :
1212 include :
13- - master
13+ - main
1414 - vnext
1515variables :
1616 buildPlatform : ' Any CPU'
@@ -206,7 +206,7 @@ extends:
206206 content : ' *.nupkg'
207207
208208 - stage : deploy
209- condition : and(contains(variables['build.sourceBranch'], 'refs/heads/master '), succeeded())
209+ condition : and(contains(variables['build.sourceBranch'], 'refs/heads/main '), succeeded())
210210 dependsOn : build
211211 jobs :
212212 - deployment : deploy_hidi
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Publish Docker image
22on :
33 workflow_dispatch :
44 push :
5- branches : [master , vnext]
5+ branches : [main , vnext]
66 paths : ['src/Microsoft.OpenApi.Hidi/**', '.github/workflows/**']
77env :
88 REGISTRY : msgraphprod.azurecr.io
3535 push : true
3636 tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:nightly
3737 - name : Push to GitHub Packages - Release
38- if : ${{ github.ref == 'refs/heads/master ' }}
38+ if : ${{ github.ref == 'refs/heads/main ' }}
3939 uses : docker/build-push-action@v6.10.0
4040 with :
4141 push : true
You can’t perform that action at this time.
0 commit comments