forked from rlabrecque/Steamworks.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
58 lines (49 loc) · 1.62 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
49
50
51
52
53
54
55
56
57
58
########################################################
## MASTER ##
########################################################
-
branches:
only:
- master
image:
- Visual Studio 2019
version: 13.0.0.{build}
clone_depth: 1
skip_commits:
files:
- docs/*
- LICENSE
- README.md
- .travis.yml
- codecov.yml
- .gitignore
cache:
- packages -> **\packages.config, **\*.csproj, build.ps1 #local nuget folder
# - '%HOMEDRIVE%%HOMEPATH%\.nuget\packages -> **\packages.config, **\*.csproj, build.ps1' #global nuget folder
- '%LocalAppData%\Microsoft\dotnet -> appveyor.yml'
- '$HOME/.local/share/NuGet/v3-cache' #nuget cache ubuntu
- '$HOME/.local/share/NuGet/Cache' #nuget cache ubuntu
- '%LocalAppData%\NuGet\Cache' #v>3 nuget cache windows
- '%LocalAppData%\NuGet\v3-cache' #nuget cache windows
assembly_info:
patch: true
file: Standalone\Properties\AssemblyInfo.cs
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
install:
- ps: ./init_script.ps1
- git submodule update --init --recursive
before_build:
- ps: nuget restore $env:SOLUTION_NAME
build_script:
- ps: ./build_script.ps1
after_test:
- ps: ./after_test_nuget.ps1
deploy:
- provider: NuGet
server: https://nuget.pkg.github.com/FactrIDE/index.json
artifact: Steamworks.NET-Standalone.nupkg
username: FactrIDE
api_key:
secure: Cc5LQq7vuBMi2CTmoYPLFHuXeFeqTThn6xbL9O/f+r4GAut49B7rDBKfzbwl2TtC