Skip to content

Commit 957f151

Browse files
committed
do it propa
1 parent c391d02 commit 957f151

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: .github/workflows/release.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
cd "$PROJECT_PATH"
3232
godot --headless --verbose --export-release "windows" \
3333
"$EXPORT_DIR"/windows/bited.exe
34-
- name: Zip
35-
run: zip bited.zip build/windows
34+
cd "$EXPORT_DIR"/windows
35+
zip bited.zip ./*
3636
- name: Upload to Release
3737
uses: svenstaro/upload-release-action@v2
3838
with:
39-
file: bited.zip
39+
file: build/windows/bited.zip
4040
asset_name: bited_windows_$tag.zip
4141
export-linux:
4242
name: Linux Export
@@ -55,17 +55,17 @@ jobs:
5555
~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
5656
- name: Linux Build
5757
run: |
58-
mkdir -v -p build/linux
58+
mkdir -v -p build/linux/*
5959
EXPORT_DIR="$(readlink -f build)"
6060
cd "$PROJECT_PATH"
6161
godot --headless --verbose --export-release "linux" \
62-
"$EXPORT_DIR/linux/bited.x86_64"
63-
- name: Zip
64-
run: zip bited.zip build/linux
62+
"$EXPORT_DIR"/linux/bited.x86_64
63+
cd "$EXPORT_DIR"/linux
64+
zip bited.zip ./*
6565
- name: Upload to Release
6666
uses: svenstaro/upload-release-action@v2
6767
with:
68-
file: bited.zip
68+
file: build/linux/bited.zip
6969
asset_name: bited_linux_$tag.zip
7070
export-mac:
7171
name: Mac Export
@@ -84,11 +84,11 @@ jobs:
8484
~/.local/share/godot/export_templates/"$GODOT_VERSION".stable
8585
- name: Mac Build
8686
run: |
87-
mkdir -v -p build/mac
87+
mkdir -v -p build/mac/*
8888
EXPORT_DIR="$(readlink -f build)"
8989
cd "$PROJECT_PATH"
9090
godot --headless --verbose --export-release "mac" \
91-
"$EXPORT_DIR/mac/bited.zip"
91+
"$EXPORT_DIR"/mac/bited.zip
9292
- name: Upload to Release
9393
uses: svenstaro/upload-release-action@v2
9494
with:

0 commit comments

Comments
 (0)