Skip to content

Commit 9a1bd53

Browse files
authored
Merge pull request #346 from LeaYeh/cd-allow-gitignore
2 parents 4db26e6 + 6a5cc2e commit 9a1bd53

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/actions/cleanup_full/action.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ runs:
66
steps:
77
- run: |
88
find . -type d -name .git -prune -o \
9-
-type f ! -name '*.c' ! -name '*.h' ! -name '*.mk' ! -name 'Makefile' \
9+
-type f ! -name '*.c' ! -name '*.h' ! -name '*.mk' ! -name 'Makefile' ! -name '.gitignore' \
1010
-exec rm -rf {} +
1111
find . -type d -empty -delete
12-
rm -rf source/debug
1312
shell: bash

.github/actions/cleanup_partial/action.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ runs:
66
steps:
77
- run: |
88
find . -type d \( -name .git -o -name .github \) -prune -o \
9-
-type f ! -name '*.c' ! -name '*.h' ! -name '*.mk' ! -name 'Makefile' \
9+
-type f ! -name '*.c' ! -name '*.h' ! -name '*.mk' ! -name 'Makefile' ! -name '.gitignore' \
1010
-exec rm -rf {} +
1111
find . -type d -empty -delete
12-
rm -rf source/debug
1312
shell: bash

0 commit comments

Comments
 (0)