Skip to content

Commit 49531a7

Browse files
authored
Update cleaner.yml - do exit 1 if $LIST is empty
1 parent 9d21240 commit 49531a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/cleaner.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- name: "Run cleaner"
2525
run: |
2626
LIST=$(curl -Ls https://raw.githubusercontent.com/ivan-hc/AM/main/programs/x86_64-apps)
27+
[ -z "$LIST" ] && exit 1
2728
MDS=$(ls apps/* | sed 's:.*/::; s/.md$//g')
2829
PNGS=$(ls icons/* | sed 's:.*/::; s/.png$//g')
2930
for m in $MDS; do

0 commit comments

Comments
 (0)