-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
28 lines (25 loc) · 883 Bytes
/
appveyor.yml
File metadata and controls
28 lines (25 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: build{build}
image: Ubuntu2204
clone_folder: /usr/CKli-World/CK-Crs-Projects/CK-TypeScript
environment:
MSBUILDTERMINALLOGGER: off
YARN_ENABLE_IMMUTABLE_INSTALLS: false
CODECAKEBUILDER_SECRET_KEY:
secure: 8VAzdXgUQaJyFoU3WLf2iPFV/8zPDm9qV4TfOpx8/rg=
test_script:
- node --version
- npm --version
test: false
on_finish:
- ps: >-
Write-Host "Collecting logs..."
Get-ChildItem -Recurse *.log -Exclude LastRun.log -ErrorAction SilentlyContinue |
ForEach-Object {
$filePath = $_.FullName;
$fileName = $_.FullName.Replace('/', '_').Replace('\', '_').Replace(':', '');
$fileName = $fileName.Substring($fileName.IndexOf("_Tests_") + 7).Replace("_Logs_Text_", "-");
Push-AppveyorArtifact $_.FullName -FileName $fileName
}
Write-Host "Logs uploaded."
build_script:
- dotnet run --project CodeCakeBuilder -nointeraction