Skip to content

Commit c44807e

Browse files
committed
Update
1 parent 5e4c7b5 commit c44807e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/addon.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717

1818
- name: Build add-on
1919
run: |
20-
for vv in $(ls -1d .github/addon/*); do
21-
echo $vv
22-
cd "$vv"
23-
7z a -t7z -y ../${vv##*/}.add
24-
cd ~
20+
for vv in .github/addon/*/; do
21+
[ -d "$vv" ] || continue
22+
echo "Processing $vv"
23+
(
24+
cd "$vv"
25+
7z a -t7z -y "../${vv%*\/}.add" .
26+
)
2527
done
2628
2729
- name: Upload module

0 commit comments

Comments
 (0)