Skip to content

Commit 8926ae5

Browse files
committed
Remove junk folders from zip
1 parent f50825d commit 8926ae5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/package.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
cp ../src/packaging/j3.bat bundle/J3
5858
cp ../src/packaging/j3 bundle/J3
5959
chmod +x bundle/J3/j3
60+
popd
6061
6162
- name: Upload platform-independent bundle
6263
if: runner.os == 'Linux'
@@ -98,7 +99,11 @@ jobs:
9899
cp temp/J3-Windows/* release
99100
cp temp/J3-Linux/* release
100101
cp temp/J3-macOS/* release
101-
zip -r release/J3.zip temp/J3/*
102+
103+
# Run zip from the base directory to avoid including "junk" folders
104+
pushd temp/J3
105+
zip -r ../../release/J3.zip .
106+
popd
102107
103108
- name: Stage GitHub release
104109
run: |

0 commit comments

Comments
 (0)