-
Notifications
You must be signed in to change notification settings - Fork 4
99 lines (92 loc) · 3.33 KB
/
custom-build.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: 🔨 Custom Build
on:
workflow_dispatch:
inputs:
# Inputs - Build settings
versionName:
description: "Version Name"
type: string
required: true
buildType:
description: 'Build Type'
required: true
default: 'development'
type: choice
options:
- stable
- nightly
- development
# Inputs - Base Game repository
gameRepositoryAuthor:
description: "Base Game - Repository Author"
default: "YARC-Official"
type: string
gameRepositoryName:
description: "Base Game - Repository Name"
default: "YARG"
type: string
gameRepositoryBranch:
description: "Base Game - Repository Branch"
default: "dev"
type: string
# Inputs - YARG.Core repository
customCoreRepository:
description: "Use custom YARG.Core repository"
type: boolean
default: false
coreRepositoryAuthor:
description: "YARG.Core - Repository Author"
default: "YARC-Official"
type: string
coreRepositoryName:
description: "YARG.Core - Repository Name"
default: "YARG.Core"
type: string
coreRepositoryBranch:
description: "YARG.Core - Repository Branch"
default: "master"
type: string
run-name: 🔨 Custom Build - ${{ inputs.versionName }} by @${{ github.actor }}
jobs:
linux-builder:
name: "🔨 Build - Linux"
uses: ./.github/workflows/build-Linux.yml
secrets: inherit
with:
versionName: ${{ inputs.versionName }}
buildType: ${{ inputs.buildType }}
gameRepositoryAuthor: ${{ inputs.gameRepositoryAuthor }}
gameRepositoryName: ${{ inputs.gameRepositoryName }}
gameRepositoryBranch: ${{ inputs.gameRepositoryBranch }}
customCoreRepository: ${{ inputs.customCoreRepository }}
coreRepositoryAuthor: ${{ inputs.coreRepositoryAuthor }}
coreRepositoryName: ${{ inputs.coreRepositoryName }}
coreRepositoryBranch: ${{ inputs.coreRepositoryBranch }}
mac-builder:
name: "🔨 Build - MacOS"
uses: ./.github/workflows/build-Mac.yml
secrets: inherit
with:
versionName: ${{ inputs.versionName }}
buildType: ${{ inputs.buildType }}
gameRepositoryAuthor: ${{ inputs.gameRepositoryAuthor }}
gameRepositoryName: ${{ inputs.gameRepositoryName }}
gameRepositoryBranch: ${{ inputs.gameRepositoryBranch }}
customCoreRepository: ${{ inputs.customCoreRepository }}
coreRepositoryAuthor: ${{ inputs.coreRepositoryAuthor }}
coreRepositoryName: ${{ inputs.coreRepositoryName }}
coreRepositoryBranch: ${{ inputs.coreRepositoryBranch }}
windows-builder:
name: "🔨 Build - Windows"
uses: ./.github/workflows/build-Windows.yml
secrets: inherit
with:
versionName: ${{ inputs.versionName }}
buildType: ${{ inputs.buildType }}
gameRepositoryAuthor: ${{ inputs.gameRepositoryAuthor }}
gameRepositoryName: ${{ inputs.gameRepositoryName }}
gameRepositoryBranch: ${{ inputs.gameRepositoryBranch }}
customCoreRepository: ${{ inputs.customCoreRepository }}
coreRepositoryAuthor: ${{ inputs.coreRepositoryAuthor }}
coreRepositoryName: ${{ inputs.coreRepositoryName }}
coreRepositoryBranch: ${{ inputs.coreRepositoryBranch }}