From 0597b11a0811a7c61cc6457d4137e180347cdaf5 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Wed, 25 Jan 2023 10:48:50 -0500 Subject: [PATCH] fix: don't remove ignored directories --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 05de6cf..7957869 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,7 +21,7 @@ jobs: git config --global user.email "<41898282+github-actions[bot]@users.noreply.github.com>" git config --global user.name "github-actions[bot]" git rm -rf . - git clean -fdx + git clean -fd --exclude 'LICENSE' --exclude 'README.md' --exclude 'action.yaml' git checkout --orphan ci git add dist README.md LICENSE action.yaml git commit -m "chore: create ci test ($GITHUB_SHA)"