diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 1d6529b..8040075 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -35,7 +35,7 @@ jobs: git config --global user.email ${{ github.triggering_actor }}@gmail.com git checkout -b $OUTPUT_BRANCH - find . -type f ! -name $OUTPUT -delete + find . -type f ! -name "$OUTPUT" -not -path './.git/*' -delete git init git add .