forked from Mapsui/Mapsui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
48 lines (47 loc) · 1.35 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '{build}'
skip_commits:
files:
- docs/**/*
- docfx/**/*
- logo/**/*
- '**/*.md'
image: Visual Studio 2022
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
version-short: 4.0.0
nuget:
disable_publish_on_pr: true
cache:
- '%USERPROFILE%\.nuget\packages -> **.sln, **.csproj' # preserve nuget folder (packages) unless the solution or projects change
install:
- ps: Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1';
- ps: ./dotnet-install.ps1 -Version 6.0.301 -InstallDir "dotnetcli"
- cmd: dotnet workload install maui macos android ios maccatalyst
- cmd: '"C:/Program Files (x86)/Android/android-sdk/tools/bin/sdkmanager.bat" "platforms;android-31"'
before_build:
- cmd: .nuget\nuget restore mapsui.sln -Verbosity quiet
build:
project: Mapsui.sln
verbosity: minimal
before_package:
- cmd: ''
after_build:
- cmd: ''
after_test:
- cmd: Scripts\buildpack %version-short%-build.%APPVEYOR_BUILD_NUMBER%
artifacts:
- path: Artifacts\*.*
name: mapsuipackage
deploy:
- provider: NuGet
api_key:
secure: RI7FmOMHYqZPtJNhuBD/dxzizoFBECO++GnXPQVBqMmIIkL4ZYCPMGGFP3hTQC2Q
skip_symbols: true
artifact: mapsuipackage-nu-even-niet
configuration: Release
platform: AnyCPU