Skip to content

Commit 4a5f7bc

Browse files
committed
CI fix to prebuild
1 parent efa98f5 commit 4a5f7bc

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

appveyor.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ branches:
2020
- unstable
2121
- /release\/.+/
2222

23-
# This ensures the base branch is loaded which is required for regitlint to run.
24-
clone_script:
25-
- ps: |
26-
git clone -q --branch=$env:APPVEYOR_REPO_BRANCH https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
27-
git fetch -q origin +refs/pull/$env:APPVEYOR_PULL_REQUEST_NUMBER/merge:
28-
git checkout -qf FETCH_HEAD
29-
3023
pull_requests:
3124
do_not_increment_build_number: true
3225

@@ -51,6 +44,11 @@ for:
5144
git checkout $env:APPVEYOR_REPO_BRANCH -q
5245
}
5346
choco install docfx -y
47+
48+
if ($env:APPVEYOR_REPO_BRANCH -eq "openapi"){
49+
git fetch origin openapi:openapi
50+
}
51+
5452
after_build:
5553
- pwsh: |
5654
CD ./docs

test/OpenApiTests/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@
937937
"type": "string",
938938
"nullable": true
939939
},
940-
"plannedDeparture": {
940+
"departsAt": {
941941
"type": "string",
942942
"format": "date-time"
943943
}

0 commit comments

Comments
 (0)