PowerShell/appveyor.yml
Travis Plunk 948532ac83
Don't cache files that change every build (#6901)
Don't cache files that change every build
Fixes #6894
2018-05-21 14:18:56 -07:00

34 lines
739 B
YAML

# version is set in tools\appveyor.psm1 - Invoke-AppVeyorInstall
image: Visual Studio 2017
# cache version - netcoreapp.2.1-sdk.2.1.300-rc1
cache:
- '%LocalAppData%\Microsoft\dotnet -> appveyor.yml'
- '%HOMEDRIVE%%HOMEPATH%\.nuget\packages -> appveyor.yml'
nuget:
project_feed: true
environment:
POWERSHELL_TELEMETRY_OPTOUT: 1
install:
- git submodule update --init
- ps: Import-Module .\tools\Appveyor.psm1
- ps: Invoke-AppveyorInstall
build_script:
- ps: Invoke-AppveyorBuild
test_script:
- ps: Invoke-AppveyorTest
after_test:
- ps: Invoke-AppVeyorAfterTest
# Run the finish command and delete files which should not be in the cache
on_finish:
- ps: Invoke-AppveyorFinish
- ps: Invoke-AppVeyorCleanCache