Skip to content

Commit 935972e

Browse files
committed
actions: fix find command
1 parent 1f4d5c7 commit 935972e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: mkdir -p "Assets/${{ github.repository_owner }}/${{ github.event.repository.name }}"
4747

4848
- name: Move to Unitypackage Directory
49-
run: find . -mindepth 1 -maxdepth 1 -regextype egrep -not -regex '^(Assets/.*|.*\.zip)' -exec mv -t "Assets/${{ github.repository_owner }}/${{ github.event.repository.name }}" {} +
49+
run: find . -mindepth 1 -maxdepth 1 -regextype egrep -not \( -name Assets -o -name '*.zip' \) -exec mv -t "Assets/${{ github.repository_owner }}/${{ github.event.repository.name }}" {} +
5050

5151
- name: Create .meta list
5252
run: find "Assets/" -name "*.meta" >> metaList

0 commit comments

Comments
 (0)