Skip to content

Commit e6f4e66

Browse files
committed
sync
1 parent 685d4c7 commit e6f4e66

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/godot-ci.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
EXPORT_DIR="$(readlink -f build)"
3333
cd $PROJECT_PATH
3434
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
35+
cd build/windows
36+
zip -r space-war-windows space-war.exe space-war.pck
3537
- name: Upload Release
3638
uses: softprops/action-gh-release@v2
3739
with:
@@ -40,7 +42,7 @@ jobs:
4042
append_body: true
4143
fail_on_unmatched_files: true
4244
files: |
43-
build/windows/*.*
45+
build/windows/space-war-windows.zip
4446
4547
export-linux:
4648
name: Linux Export
@@ -62,11 +64,17 @@ jobs:
6264
EXPORT_DIR="$(readlink -f build)"
6365
cd $PROJECT_PATH
6466
godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
65-
- name: Upload Artifact
66-
uses: actions/upload-artifact@v4
67+
cd build/linux
68+
zip -r space-war-linux space-war.x86_64 space-war.pck
69+
- name: Upload Release
70+
uses: softprops/action-gh-release@v2
6771
with:
68-
name: space-war-linux
69-
path: build/linux
72+
make_latest: true
73+
append_body: true
74+
fail_on_unmatched_files: true
75+
files: |
76+
build/linux/space-war-linux.zip
77+
7078
7179
export-mac:
7280
name: Mac Export
@@ -87,13 +95,12 @@ jobs:
8795
mkdir -v -p build/mac
8896
EXPORT_DIR="$(readlink -f build)"
8997
cd $PROJECT_PATH
90-
godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip"
91-
98+
godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME-mac.zip"
9299
- name: Upload Release
93100
uses: softprops/action-gh-release@v2
94101
with:
95102
make_latest: true
96103
append_body: true
97104
fail_on_unmatched_files: true
98105
files: |
99-
build/mac/*.*
106+
build/mac/space-war-mac.zip

0 commit comments

Comments
 (0)