Skip to content

Commit dbcd17a

Browse files
committed
Tweaking AppVeyor builds
Shows the dotnet version and has a dedicated restore call
1 parent 52dc02b commit dbcd17a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
version: 'Build {build}'
21
image: Visual Studio 2019
32
skip_branch_with_pr: true
43

54
environment:
6-
BUILD_CONFIGURATION: Release
75
BUILD_ARTIFACT_PATH: build-artifacts
86

97
build_script:
10-
- ps: dotnet build -c $env:BUILD_CONFIGURATION
8+
- ps: dotnet --version
9+
- ps: dotnet restore
10+
- ps: dotnet build --no-restore -c Release
1111
- ps: dotnet test --results-directory $env:BUILD_ARTIFACT_PATH/test-results /p:SkipBuildVersioning=true
12-
- ps: dotnet pack --no-build -c $env:BUILD_CONFIGURATION /p:PackageOutputPath=$env:BUILD_ARTIFACT_PATH
12+
- ps: dotnet pack -c Release --no-build /p:PackageOutputPath=$env:BUILD_ARTIFACT_PATH
1313

1414
test: false
1515
artifacts:

0 commit comments

Comments
 (0)