Skip to content

Commit 702e4eb

Browse files
Do not clean _github_workflow directory of GH Actions
1 parent e487615 commit 702e4eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/cleanup.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ for folder in $TARGETS; do
66
for f in $(ls -a); do
77
if [ "$f" != "." ] &&
88
[ "$f" != ".." ] &&
9-
[ "$f" != "_github_home" ] # __w/_temp/_github_home is mount as
10-
# /github/home and is cleaned separately
9+
[ "$f" != "_github_home" ] && # __w/_temp/_github_home is mount as
10+
# /github/home and is cleaned separately
11+
[ "$f" != "_github_workflow" ] # Contains workflow metadata, is needed
12+
# for the correct workflow execution
1113
then
1214
rm -rf "$f"
1315
fi

0 commit comments

Comments
 (0)