mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
Refactor file compression logic in release workflow
This commit is contained in:
1 parent
2673089b57
commit
a93147086e
1 file changed
+2
-1
@@ -75,7 +75,8 @@ jobs:
|
||||
for file in assets/*/*/*; do
|
||||
if [ -f "$file" ]; then
|
||||
chmod +x "$file"
|
||||
zip -jr "$file.zip" "$file"
|
||||
export fileWithoutExt=${file%.*}
|
||||
zip -jr "$fileWithoutExt.zip" "$file"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user