File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -93,14 +93,6 @@ function CreateNuGetPackage {
93
93
CheckLastExitCode
94
94
}
95
95
96
- function LoadOpenApiBranchIfRequired {
97
- if ($env: APPVEYOR_REPO_BRANCH -eq " openapi" ) {
98
- git fetch origin openapi:openapi
99
- }
100
- }
101
-
102
- LoadOpenApiBranchIfRequired
103
-
104
96
dotnet tool restore
105
97
CheckLastExitCode
106
98
Original file line number Diff line number Diff line change 37
37
services :
38
38
- postgresql101
39
39
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
40
+ clone_script :
41
+ - ps : |
42
+ git clone --branch=$env:APPEVEYOR_REPO_BRANCH git@github.com:$env:APPEVEYOR_REPO_NAME.git $env:APPEVEYOR_BUILD_FOLDER
43
+ git fetch -q origin +refs/pull/$env:APPEVEYOR_PULL_REQUEST_NUMBER/merge:
44
+ git checkout -qf FETCH_HEAD
40
45
before_build :
41
46
- pwsh : |
42
47
if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
You can’t perform that action at this time.
0 commit comments