-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtoriiproject.yml
66 lines (61 loc) · 1.99 KB
/
toriiproject.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
59
60
61
62
63
64
65
66
# unity_preferred_version (str, optional): the preferred version of Unity to get
# when using Unity installation auto detection. If not given, it will use the
# first one it finds.
#
unity_preferred_version: "2019.4.20f1"
nuget_package_install_path: UnityEditor/Dep/External
# actual_project_dir (str, optional): the actual project directory (where the
# Unity project is) - by default toriicli will use the directory that this
# config file is in as the Unity project folder but use this if you want to
# override it
#
actual_project_dir: LSDR
# build_defs (array): the list of builds we should be making. Cannot be empty.
# Each build should have 'target (str)', which is one of https://docs.unity3d.com/ScriptReference/BuildTarget.html
# As well as 'executable_name (str)', which is the name of the executable to build.
#
build_defs:
- target: StandaloneWindows
executable_name: LSDR.exe
# - target: StandaloneOSXUniversal
# executable_name: LSDR.app
# - target: StandaloneLinuxUniversal
# executable_name: LSDR
build_post_steps:
- step: compress
using:
format: zip
archive_name: "lsdr-{{ build_number }}"
- step: export
keep: "lsdr-{{ build_number }}.zip"
using:
backend: local
container: builds
path_prefix: "{{ build_def.target }}"
- step: export
keep: "lsdr-{{ build_number }}.zip"
filter:
options: [upload]
using:
backend: s3
region: fra1
endpoint: https://fra1.digitaloceanspaces.com/
container: $BUCKET_NAME
path_prefix: "{{ build_def.target }}"
release_steps:
- step: import
using:
backend: s3
region: fra1
endpoint: https://fra1.digitaloceanspaces.com/
container: $BUCKET_NAME
key: "{{ build_def.target }}/lsdr-{{ build_number }}.zip"
- step: butler
filter:
targets: [StandaloneWindows]
using:
directory: "lsdr-{{ build_number }}.zip"
user: figglewatts
game: lsd-revamped
channel: windows
user_version: "{{ build_number }}"