File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
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
- if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE ) {
47
+ if (-Not $env:APPEVEYOR_PULL_REQUEST_TITLE ) {
43
48
# https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html
44
49
git checkout $env:APPVEYOR_REPO_BRANCH -q
45
50
}
You can’t perform that action at this time.
0 commit comments