Skip to content

Commit eda1868

Browse files
committed
Use MyGet
1 parent 464749b commit eda1868

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

appveyor.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,28 @@ init:
1111
- ps: $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)
1212
- ps: If ("$env:APPVEYOR_REPO_TAG" -ne "true") { $env:VERSION_SUFFIX="pre" }
1313
- ps: 'Write-Output "Version: $($env:APPVEYOR_BUILD_VERSION)-$($env:VERSION_SUFFIX)"'
14-
- nuget sources add -name Foundatio -source https://ci.appveyor.com/nuget/foundatio
1514

1615
before_build:
1716
- ps: .\build\Set-BuildVersion -Version $env:APPVEYOR_BUILD_VERSION -Suffix $env:VERSION_SUFFIX
17+
- nuget sources add -name Exceptionless -source https://www.myget.org/F/exceptionless/api/v3/index.json
1818
- appveyor-retry dotnet restore -v Minimal
1919

2020
build_script:
2121
- dotnet build -c Release
22-
- dotnet pack -c Release
22+
23+
#on_failure:
24+
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
25+
26+
after_test:
27+
- ps: dotnet pack -c Release
2328

2429
artifacts:
2530
- path: artifacts\*.nupkg
26-
name: ReleaseArtifacts
27-
28-
nuget:
29-
project_feed: true
30-
disable_publish_on_pr: true
31+
name: NuGet
3132

3233
deploy:
34+
- provider: Environment
35+
name: MyGet
3336
- provider: Environment
3437
name: NuGet
3538
on:

0 commit comments

Comments
 (0)