Skip to content

Commit 5f78e6c

Browse files
committed
ci: try to find out what's going wrong on appveyor
1 parent e55e474 commit 5f78e6c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

appveyor.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ branches:
66
- main
77

88
environment:
9+
# bad, but without this, gitversion doesn't work anymore
10+
IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1
911
azure-key-vault-url:
1012
secure: 1mKS/HfCVq+iYNRVSrrN8NEowOkKt3knrpMzw+SOy3g=
1113
azure-key-vault-client-id:
@@ -29,16 +31,16 @@ install:
2931
{
3032
git checkout -qf $($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT)
3133
}
32-
- ps: Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
33-
- ps: ./dotnet-install.ps1 -Version 8.0.100 -InstallDir "C:\Program Files\dotnet"
34+
# - ps: Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
35+
# - ps: ./dotnet-install.ps1 -Version 8.0.100 -InstallDir "C:\Program Files\dotnet"
3436

3537
pull_requests:
3638
do_not_increment_build_number: false
3739

3840
build_script:
3941
- ps: dotnet --info
4042
- ps: gitversion /version
41-
- ps: .\build.ps1 --target=ci #--verbosity=diagnostic
43+
- ps: .\build.ps1 --target=ci --verbosity=diagnostic
4244

4345
after_build:
4446
- ps: gci -Filter *.trx -Path .\TestResults\ | % { (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_.FullName)) }

0 commit comments

Comments
 (0)