File tree Expand file tree Collapse file tree 2 files changed +33
-4
lines changed Expand file tree Collapse file tree 2 files changed +33
-4
lines changed Original file line number Diff line number Diff line change 26
26
- " release"
27
27
- " minimal"
28
28
- " full"
29
+ new_release_version :
30
+ type : string
31
+ required : false
29
32
30
33
# Triggers the workflow when called by a top-level workflow
31
34
workflow_call :
42
45
type : string
43
46
required : false
44
47
default : " release"
48
+ new_release_version :
49
+ type : string
50
+ required : false
45
51
46
52
jobs :
47
53
build-linux :
59
65
sudo apt-get install --no-install-recommends wget liballegro4-dev libloadpng4-dev libflac++-dev luajit-5.1-dev liblua5.2-dev libminizip-dev liblz4-dev libpng++-dev libx11-dev libboost-dev libtbb-dev libsdl2-dev libsdl2-image-dev libopengl-dev libfuse2 ninja-build
60
66
sudo pip install meson
61
67
68
+ - name : Set Version
69
+ if : ${{inputs.new_release_version}}
70
+ uses : ./.github/actions/set_version
71
+ with :
72
+ new_release_version : ${{inputs.new_release_version}}
73
+
62
74
- name : Setup Meson
63
75
env :
64
76
CC : " gcc"
@@ -114,7 +126,7 @@ jobs:
114
126
build-macos :
115
127
runs-on : macos-11
116
128
name : MacOS Build
117
-
129
+
118
130
env :
119
131
GCC_VERSION : " 13"
120
132
MACOSX_DEPLOYMENT_TARGET : 10.15
@@ -124,8 +136,14 @@ jobs:
124
136
125
137
- name : " Install Dependencies"
126
138
uses : melusina-org/setup-macports@v1
127
- with :
128
- parameters : " .github/parameters/macports.yml"
139
+ with :
140
+ parameters : " .github/parameters/macports.yml"
141
+
142
+ - name : Set Version
143
+ if : ${{inputs.new_release_version}}
144
+ uses : ./.github/actions/set_version
145
+ with :
146
+ new_release_version : ${{inputs.new_release_version}}
129
147
130
148
- name : Setup Meson
131
149
env :
Original file line number Diff line number Diff line change 19
19
- " Debug Release"
20
20
- " Debug Minimal"
21
21
- " Debug Full"
22
+ new_release_version :
23
+ type : string
24
+ required : false
22
25
23
26
# Triggers the workflow when called by a top-level workflow
24
27
workflow_call :
31
34
type : string
32
35
required : false
33
36
default : " Final"
34
-
37
+ new_release_version :
38
+ type : string
39
+ required : false
35
40
env :
36
41
# Path to the solution file relative to the root of the project.
37
42
SOLUTION_FILE_PATH : RTEA.sln
54
59
- name : Add MSBuild to PATH
55
60
uses : microsoft/setup-msbuild@v1
56
61
62
+ - name : Set Version
63
+ if : ${{inputs.new_release_version}}
64
+ uses : ./.github/actions/set_version
65
+ with :
66
+ new_release_version : ${{inputs.new_release_version}}
67
+
57
68
- name : Build
58
69
working-directory : ${{env.GITHUB_WORKSPACE}}
59
70
# Add additional options to the MSBuild command line here (like platform or verbosity level).
You can’t perform that action at this time.
0 commit comments