Skip to content

Commit

Permalink
Merge pull request #1295 from nunit/issue-1294
Browse files Browse the repository at this point in the history
Use pre-installed .NET 7.0 SDK on AppVeyor
  • Loading branch information
CharliePoole authored Jan 7, 2023
2 parents ef2055c + 91c9f60 commit 2fe59e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
next-version: 3.16.0
next-version: 3.16.2
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
Expand Down
15 changes: 1 addition & 14 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,8 @@ branches:
except:
- /^azure-/

install:
- ps: $urlNet70RC = "https://download.visualstudio.microsoft.com/download/pr/1fb808dc-d017-4460-94f8-bf1ac83e6cd8/756b301e714755e411b84684b885a516/dotnet-sdk-7.0.100-win-x64.zip"
- ps: echo "Download from $urlNet70RC"
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: echo "Created directory $env:DOTNET_INSTALL_DIR"
- ps: echo "Starting download"
- ps: $tempFileNet70RC = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), [System.IO.Path]::GetRandomFileName())
- ps: (New-Object System.Net.WebClient).DownloadFile($urlNet70RC, $tempFileNet70RC)
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileNet70RC, $env:DOTNET_INSTALL_DIR)
- ps: echo "Download complete"
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

build_script:
- ps: dotnet --info
- ps: .\build.ps1 --target=Appveyor --configuration=Release

# disable built-in tests.
Expand Down

0 comments on commit 2fe59e7

Please sign in to comment.