10
10
jobs :
11
11
export-windows :
12
12
name : Windows Export
13
- runs-on : ubuntu-20.04
13
+ runs-on : ubuntu-latest
14
14
container :
15
15
image : barichello/godot-ci:4.3
16
16
steps :
@@ -23,25 +23,28 @@ jobs:
23
23
mkdir -v -p ~/.local/share/godot/export_templates/
24
24
mkdir -v -p ~/.config/
25
25
mv /root/.config/godot ~/.config/godot
26
- mv /root/.local/share/godot/export_templates/"$GODOT_VERSION".stable ~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
26
+ mv /root/.local/share/godot/export_templates/"$GODOT_VERSION".stable \
27
+ ~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
27
28
- name : Windows Build
28
29
run : |
29
30
mkdir -v -p build/windows
30
31
EXPORT_DIR="$(readlink -f build)"
31
32
cd "$PROJECT_PATH"
32
- godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
33
+ godot --headless --verbose --export-release "Windows Desktop" \
34
+ "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
33
35
- name : Upload Artifact
34
36
uses : actions/upload-artifact@v4
35
37
with :
36
38
name : windows
37
39
path : build/windows
38
40
- name : Upload to Release
39
41
uses : svenstaro/upload-release-action@v2
40
- file : build/windows/*.exe
41
- file_glob : true
42
+ with :
43
+ file : build/windows/*.exe
44
+ file_glob : true
42
45
export-linux :
43
46
name : Linux Export
44
- runs-on : ubuntu-20.04
47
+ runs-on : ubuntu-latest
45
48
container :
46
49
image : barichello/godot-ci:4.3
47
50
steps :
@@ -52,20 +55,23 @@ jobs:
52
55
- name : Setup
53
56
run : |
54
57
mkdir -v -p ~/.local/share/godot/export_templates/
55
- mv /root/.local/share/godot/export_templates/"$GODOT_VERSION".stable ~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
58
+ mv /root/.local/share/godot/export_templates/"$GODOT_VERSION".stable \
59
+ ~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
56
60
- name : Linux Build
57
61
run : |
58
62
mkdir -v -p build/linux
59
63
EXPORT_DIR="$(readlink -f build)"
60
64
cd "$PROJECT_PATH"
61
- godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
65
+ godot --headless --verbose --export-release "Linux/X11" \
66
+ "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
62
67
- name : Upload to Release
63
68
uses : svenstaro/upload-release-action@v2
64
- file : build/linux/*.x86_64
65
- file_glob : true
69
+ with :
70
+ file : build/linux/*.x86_64
71
+ file_glob : true
66
72
export-mac :
67
73
name : Mac Export
68
- runs-on : ubuntu-20.04
74
+ runs-on : ubuntu-latest
69
75
container :
70
76
image : barichello/godot-ci:4.3
71
77
steps :
@@ -76,14 +82,17 @@ jobs:
76
82
- name : Setup
77
83
run : |
78
84
mkdir -v -p ~/.local/share/godot/export_templates/
79
- mv /root/.local/share/godot/export_templates/"$GODOT_VERSION".stable ~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
85
+ mv /root/.local/share/godot/export_templates/"$GODOT_VERSION".stable \
86
+ ~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
80
87
- name : Mac Build
81
88
run : |
82
89
mkdir -v -p build/mac
83
90
EXPORT_DIR="$(readlink -f build)"
84
91
cd "$PROJECT_PATH"
85
- godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip"
92
+ godot --headless --verbose --export-release "macOS" \
93
+ "$EXPORT_DIR/mac/$EXPORT_NAME.zip"
86
94
- name : Upload to Release
87
95
uses : svenstaro/upload-release-action@v2
88
- file : build/mac/*.zip
89
- file_glob : true
96
+ with :
97
+ file : build/mac/*.zip
98
+ file_glob : true
0 commit comments