Skip to content

Commit 941b7f5

Browse files
authored
Merge pull request #105 from NoobKazoku/fix/104-package-path
chore(ci): 更新构建脚本以优化打包过程
2 parents e256545 + 89b8872 commit 941b7f5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,14 @@ jobs:
7979
set -e
8080
godot --headless --export-release "Linux" build/linux/${{ env.EXPORT_NAME }}.x86_64 --quit
8181
- name: Package Windows
82-
run: zip -r build/${{ env.EXPORT_NAME }}-windows.zip build/windows
82+
run: |
83+
cd build/windows
84+
zip -r ../${{ env.EXPORT_NAME }}-windows.zip .
85+
8386
- name: Package Linux
84-
run: zip -r build/${{ env.EXPORT_NAME }}-linux.zip build/linux
87+
run: |
88+
cd build/linux
89+
zip -r ../${{ env.EXPORT_NAME }}-linux.zip .
8590
- uses: actions/upload-artifact@v4
8691
with:
8792
name: release-assets-windows-linux

0 commit comments

Comments
 (0)