-
-
Notifications
You must be signed in to change notification settings - Fork 8
126 lines (102 loc) · 3.56 KB
/
build-releases.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
name: Build Releases
on:
workflow_dispatch:
inputs:
steamworks_sdk_tag:
description: 'Steamworks SDK Github tag:'
required: true
type: string
default: 'sdk-1.59'
godot_tag:
description: 'Godot Github tag:'
required: true
type: string
default: '3.5.3-stable'
godotsteam_version:
description: 'GodotSteam Server version number:'
required: true
type: string
default: '3.3'
jobs:
env-setup:
uses: ./.github/workflows/setup-env.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godotsteam_version: ${{ inputs.godotsteam_version }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
build-linux:
needs: [env-setup]
uses: ./.github/workflows/build-artifact-linux.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godot_version: ${{ needs.env-setup.outputs.godot_version }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
secrets:
steamworks_sdk_repo: ${{ secrets.STEAMWORKS_SDK_REPO }}
steamworks_sdk_repo_token: ${{ secrets.STEAMWORKS_SDK_REPO_TOKEN }}
create-linux-bundle:
needs: [env-setup, build-linux]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: linux
platform: 'Linux'
zip_prefix: linux64
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
create-linux-headless-bundle:
needs: [env-setup, build-linux]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: server
platform: 'Linux Headless'
zip_prefix: linux64
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
build-windows:
needs: [env-setup]
uses: ./.github/workflows/build-artifact-windows.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godot_version: ${{ needs.env-setup.outputs.godot_version }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
secrets:
steamworks_sdk_repo: ${{ secrets.STEAMWORKS_SDK_REPO }}
steamworks_sdk_repo_token: ${{ secrets.STEAMWORKS_SDK_REPO_TOKEN }}
create-windows32-bundle:
needs: [env-setup, build-windows]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: windows32
platform: 'Windows32'
zip_prefix: win32
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
create-windows64-bundle:
needs: [env-setup, build-windows]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: windows64
platform: 'Windows64'
zip_prefix: win64
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
build-macos:
needs: [env-setup]
uses: ./.github/workflows/build-artifact-macos.yml
with:
godot_tag: ${{ inputs.godot_tag }}
godot_version: ${{ needs.env-setup.outputs.godot_version }}
steamworks_sdk_tag: ${{ inputs.steamworks_sdk_tag }}
secrets:
steamworks_sdk_repo: ${{ secrets.STEAMWORKS_SDK_REPO }}
steamworks_sdk_repo_token: ${{ secrets.STEAMWORKS_SDK_REPO_TOKEN }}
create-macos-bundle:
needs: [env-setup, build-macos]
uses: ./.github/workflows/create-bundle.yml
with:
artifact_type: macos
platform: 'MacOS'
zip_prefix: macos
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}
create-template-bundle:
needs: [env-setup, build-linux, build-windows, build-macos]
uses: ./.github/workflows/create-bundle-templates.yml
with:
is_mono: false
zip_tag: ${{ needs.env-setup.outputs.zip_tag }}